Skip to main content

AI-augmented testing is here to help

AI-augmented coding is here, and rather than taking over the role of a developer, it helps make developers lives’ easier and less tedious. 

GitHub Copilot, which first launched as a technical preview last summer, is a popular example of AI-augmented coding. There’s also DeepMind’s Alphacode and Diffblue Cover, which is a unit testing solution for Java code.

In a recent SD Times Live! event, Diffblue’s CEO Mathew Lodge explained that there are main categories of AI augmented coding: 

  1. Auto completion of code, which is what GitHub Copilot does 
  2. Coding systems designed specifically to win coding competitions, which is where Alphacode comes in
  3. Unit test writing, which is where Diffblue falls in, along with solutions like EvoSuite and  CircleCI’s Ponicode.  

According to Lodge, AI is useful in augmenting unit test writing because when writing test programs, the number of possible tests is exponential. Applying AI is a way to conduct a smart search within that space.

“We’re looking inside of the set of all possible test programs, and we want the set of programs that are valid and run, that generate high coverage and that developers find easy to read,” said Lodge.

Lodge explained that Diffblue uses what’s called probabilistic search to look for the most likely solutions within the testing area. 

“You’re not guaranteed to get the best solution, and that’s not the goal, because the only way you can get the best solution is to look at every single possibility. But you are going to get a good solution out of this kind of approach most of the time,” Lodge explained. 

Then, once a test fails, that’s when a developer or QA specialist needs to come in and figure out why. 

Diffblue Cover writes regression unit tests for Java code, and this means tests can be written for the entire application to get a baseline of tests.

According to Lodge, a benefit of regression testing is that you can run them against new code or changes to existing code. 

“We can dramatically reduce the amount of time it takes to run CI,” said Lodge. “So you get some test failures and test failures could either be because you broke something you didn’t intend to, or it can be intentional. And then after that, you can update the Diffblue baseline with the new tests.”

Another main benefit is developer retention. As companies wrestle with the reality of the Great Resignation, retaining their top developer talent is top-of-mind and one way to keep those developers on board is to make sure they’re satisfied with what they’re working on, which means eliminating some of those more mundane tasks, which is something that these AI-augmented solutions do. 

To learn more, watch the webinar, “Copilot to Cover: AI-augmented coding isn’t your robot overlord – it’s here to help,” available on-demand now.

The post AI-augmented testing is here to help appeared first on SD Times.



from SD Times https://ift.tt/ZKUh8fP

Comments

Popular posts from this blog

Difference between Web Designer and Web Developer Neeraj Mishra The Crazy Programmer

Have you ever wondered about the distinctions between web developers’ and web designers’ duties and obligations? You’re not alone! Many people have trouble distinguishing between these two. Although they collaborate to publish new websites on the internet, web developers and web designers play very different roles. To put these job possibilities into perspective, consider the construction of a house. To create a vision for the house, including the visual components, the space planning and layout, the materials, and the overall appearance and sense of the space, you need an architect. That said, to translate an idea into a building, you need construction professionals to take those architectural drawings and put them into practice. Image Source In a similar vein, web development and design work together to create websites. Let’s examine the major responsibilities and distinctions between web developers and web designers. Let’s get going, shall we? What Does a Web Designer Do?...

A guide to data integration tools

CData Software is a leader in data access and connectivity solutions. It specializes in the development of data drivers and data access technologies for real-time access to online or on-premise applications, databases and web APIs. The company is focused on bringing data connectivity capabilities natively into tools organizations already use. It also features ETL/ELT solutions, enterprise connectors, and data visualization. Matillion ’s data transformation software empowers customers to extract data from a wide number of sources, load it into their chosen cloud data warehouse (CDW) and transform that data from its siloed source state, into analytics-ready insights – prepared for advanced analytics, machine learning, and artificial intelligence use cases. Only Matillion is purpose-built for Snowflake, Amazon Redshift, Google BigQuery, and Microsoft Azure, enabling businesses to achieve new levels of simplicity, speed, scale, and savings. Trusted by companies of all sizes to meet...

Olive and NTT DATA Join Forces to Accelerate the Global Development and Deployment of AI Solutions

U.S.A., March 14, 2021 — Olive , the automation company creating the Internet of Healthcare, today announced an alliance with NTT DATA , a global digital business and IT services leader. The collaboration will fast track the creation of new healthcare solutions to transform the health experience for humans — both in the traditional healthcare setting and at home. As a member of Olive’s Deploy, Develop and Distribute Partnership Programs , NTT DATA is leveraging Olive’s open platform to innovate, build and distribute solutions to Olive’s customers, which include some of the country’s largest health providers. Olive and NTT DATA will co-develop new Loops — applications that work on Olive’s platform to provide humans real-time intelligence — and new machine learning and robotic process automation (RPA) models. NTT DATA and Olive will devote an early focus to enabling efficiencies in supply chain and IT, with other disciplines to follow. “This is an exciting period of growth at Olive, so...