Tag: Diffblue

  • Diffblue Integrates Generative AI-Based Testing Platform With GitLab

    Diffblue Integrates Generative AI-Based Testing Platform With GitLab

    Diffblue this week generally made available an integration between its automated unit testing platform for Java and the DevSecOps platform from GitLab.

    The Diffblue Cover platform makes use of generative artificial intelligence (AI) to automatically create unit tests based on reinforcement learning technologies that don’t rely on LLMs—avoiding their drawbacks of sometimes introducing hallucinations and also requiring human review.

    Diffblue CEO Mathew Lodge said the integration with the continuous integration capabilities found in the premium and ultimate editions of the GitLab platform would, for example, streamline regression testing in a way that should ultimately improve both application quality and security. Diffblue Cover, for example, can update tests as much as 250 times faster than a human developer can write them manually without developer review.

    That approach also serves to reduce the level of friction many DevSecOps teams encounter when bottlenecks involving testing processes emerge, noted Lodge. The overall goal is to make it simpler for developers to test as much of their own code as possible before integrating it into a build, he added. Otherwise, developers will get fed up because testing is continuously breaking the build, noted Lodge.

    Ultimately, instead of having to write unit tests, developers become supervisors of a platform that automatically generates them on their behalf, said Lodge. The job of a developer doesn’t go away, but it does fundamentally change, he added.

    To achieve that goal, developers need to be able to access a platform that writes the tests and can then also execute them automatically. If it takes too long to create the test, chances are high that most developers won’t run it. On average, writing and evaluating a single unit test can take a developer 10 minutes. Over the course of any project, thousands of tests need to be written, so the amount of time testing takes away from coding is often much greater than most IT leaders fully appreciate.

    Automating those tests should improve developer productivity as more time is available to focus on writing code rather than testing. That doesn’t necessarily eliminate the need for a dedicated testing team, but it does mean that more tests will be run without slowing down the overall pace of application development.

    Developers naturally want to be able to test code at the very instant they create it. AI platforms can make that happen by, for example, employing reinforcement learning to write unit regression tests.

    Most developers are not going to resist assuming more responsibility for testing if the tools to automate that task are more accessible. Instead of merely shifting responsibility for testing left toward developers, DevOps teams need to find ways to streamline the process. Otherwise, testing just becomes one in a series of tasks that are being shifted to developers in ways that many of them are coming to resent.

    It may take some time before AI is fully integrated into software engineering but it’s clear with each passing day more previously manual tasks are being automated. Among the lowest hanging fruit for applying AI to software engineering are clearly testing processes that, if truth be told, few indeed enjoy conducting.

  • Diffblue Launches World’s First AI-Powered Automated Java Unit Testing Solution with Free Community Edition for Developers

    Up to 100x faster than writing manual tests, built on a decade of artificial intelligence by (AI) researchers from the University of Oxford and backed by Goldman Sachs

    Oxford, United Kingdom, Sept. 8, 2020 (GLOBE NEWSWIRE) — Diffblue, creators of the world’s first AI for code solution that automates writing unit tests for Java, today announced the general availability of Diffblue Cover and Diffblue Cover: Community Edition, a free version created for developers using IntelliJ, the most popular IDE for enterprise Java.

    Diffblue’s pioneering technology, developed by researchers from the University of Oxford, is based on reinforcement learning, the same machine learning strategy that powered AlphaGo, Alphabet subsidiary DeepMind’s software program that beat the world champion player of Go. Diffblue’s customers include Goldman Sachs and Amazon Web Services (AWS).

    Diffblue Cover automates the burdensome task of writing Java unit tests, a task that takes up as much as 20 percent of Java developers’ time. Diffblue Cover creates Java tests at speeds 10X-100X faster than humans that are also easy for developers to understand, and automatically maintains the tests as the code evolves even on applications with tens of millions of lines of code.

    “Software has revolutionized every industry, except software,” said Mathew Lodge, CEO of Diffblue. “Our goal is to be the leader in applying AI to code, starting with unit tests, the critical foundation that allows developers to more frequently ship higher quality software. We help organizations reduce time to ship, ship more often and ship code with fewer defects while freeing up developers to focus more time on the most engaging part of their jobs. Companies on the journey to digital transformation, especially during this COVID pandemic, can’t keep up with the rapid software changes required to reorient their businesses. Automating unit testing on new and legacy code can accelerate their journey to success.”

    A 2019 developer survey found that software engineers, among the most expensive talent in any company, spend 20 percent of their time writing unit tests and an additional 15 percent of their time writing all other types of tests. Yet, those unit tests on average only provided coverage for less than half of the code written. Diffblue Cover removes a key blocker to DevOps adoption in any size organization.

    Today, most unit test generators create boilerplate code for tests, rather than tests that compile and run. These tools guess the inputs that can be used as a starting point, but developers have to finish them to get functioning tests. Diffblue Cover is uniquely able to create complete human-readable unit tests that are ready to run immediately.

    Diffblue Cover today supports Java, the most popular enterprise programming language in the Global 2000. The technology behind Diffblue Cover can also be extended to support other popular programming languages such as Python, Javascript and C#.

    “As enterprises all over the world increasingly emphasize the velocity of their application development processes, unit testing becomes more and more critical. This is particularly true for the millions of enterprise Java developers worldwide, who are charged with maintaining countless critical applications for businesses large and small,” said Stephen O’Grady, Principal Analyst with RedMonk. “The challenge is that tests can be tedious to write, and developers would prefer to devote their time and attention to writing code if the task of writing tests can be automated. This is the precise opportunity that Diffblue was built for.”

    Diffblue Cover comes in two commercial versions. Both the Teams Edition and Enterprise Edition install in less than 5 minutes and provide 100 percent automated Java unit test writing and integrate directly into CI/CD systems. Visit the Diffblue products page for more details.

    Available free by download to developers, Diffblue Cover: Community Edition supports IntelliJ, the world’s most popular enterprise Java IDE, and is an ideal way to onboard developers faster to realize the benefits of automating unit test writing.

    About Diffblue

    Diffblue is leading the automation of software creation through the power of AI. Founded by researchers from the University of Oxford, Diffblue Cover uses AI for code to write unit tests that help software teams and organizations efficiently improve their code coverage and quality and to ship software faster, more frequently and with fewer defects. With customers including AWS and Goldman Sachs, Diffblue is venture-backed by Goldman Sachs and Oxford Sciences Innovation. Follow us on Twitter: @diffblueHQ