VOOZH about

URL: https://thenewstack.io/devops-in-2024-automate-first-ai-second/

⇱ DevOps in 2024: Automate First, AI Second - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-08-18 06:05:31
DevOps in 2024: Automate First, AI Second
contributed,
AI / DevOps / Software Testing

DevOps in 2024: Automate First, AI Second

GenAI gets a lot of attention as a code assistant, but test development and code review are where it really shines.
Aug 18th, 2024 6:05am by David Brooks
👁 Featued image for: DevOps in 2024: Automate First, AI Second

Enterprise IT teams are struggling to keep up with business needs. They are constantly being asked to do more with less. This is why it’s important to identify and overcome the bottlenecks they face. The problem most often comes down to their inability to automate more of their processes.

The news is full of articles about how AI copilots will boost productivity, but success in DevOps is about people and processes in addition to tools. Most users are typically so far behind that they don’t have the time to focus on improving their processes and educating their people to use these new tools properly.

Going Faster and Safer

Orchestrating CI/CD processes is one aspect of improving DevOps performance, but testing automation should come first. Why?

This can be answered by the old trope about the purpose of brakes in your car. The purpose of brakes is not to stop your vehicle — that’s what they do — but to enable the car to go fast and safely. That’s also the purpose of testing. Investing in testing automation is about allowing your teams to go faster and safer.

According to a 2023 survey by Forrester, 57% of global developers sometimes or always skip writing unit tests for their code. And 27% of organizations don’t even do formal code reviews! Got no time! Got to get it shipped!

The majority of users are manually testing new features before release with no automated regression testing. When we ask why they are not automating, they cite the lack of resources and time. I get that. When I ran the development and quality team at my previous company, I also struggled with that challenge. But that’s like paying the minimum on your credit card bill. You will never get out of debt that way.

So, how do you automate your testing when you lack the resources to do it?

Code copilots are well-known and adopted by many developers, whether their companies have approved their use. The trend that does not get the same visibility is using generative AI (GenAI) for test development and code review.

Developing Tests

Both unit tests and functional tests can be created using GenAI.

In the case of unit tests, the developer generates the code first, either on their own or using the help of a code copilot, and the AI then generates the test coverage. The same GPT copilot that generates the code is used to generate the unit tests. Remember that just as it is the developer’s responsibility to review the code generated by AI, it is also critical that they review the unit tests, especially if AI generates the code.

The code doesn’t have to exist for functional tests before the test is created. The same user story that defines the feature can be used to generate a happy path functional test. This is called intent-based test generation, and it can generate a happy path test.

This supports the notion of shift left by providing the developer with a test to validate that their code works. Negative tests are still quite essential, and while AI can help there, a subject matter expert (SME) is better equipped today to identify the critical corner cases. Stay tuned for developments in this area shortly.

The key to good unit and functional tests is ensuring the user story is complete and well-written. As AI generates more of the solution, the user story will require more information than before. The good news is that AI can be used to help enrich user stories as well.

While developers will spend less time writing code and tests in the future, they should prepare to spend more time providing architectural guidance and reviewing code and AI-generated tests.

Reviewing Code

AI can also help review code. Developers can ask the AI to walk them through the code and even ask specific questions about the libraries and APIs used. If a section of code is not up to snuff, the developer doesn’t have to ask for an entire rewrite; they can request that a specific section or class be rewritten to address a perceived gap. This method of interacting with AI will be a necessary skill in the future.

Likewise, with unit tests. The developer should review the test to ensure both the positive and negative tests are sufficient, and request an update or expansion if appropriate. Again, the developer will need to learn how to ask for the specific changes they require. This is an acquired skill that should be practiced.

The developer must learn to interact with the AI agent to get what they need. Some platforms require a minimum percentage of code coverage. If there is insufficient coverage in the first pass, the developer can explain the goal and ask for more. Results may vary between different tools, but with AI, half the battle is learning how to ask for what you need.

Benefiting Business Users

Even business users can benefit from AI regarding user acceptance tests and expansion of the test automation library. Business users are the SMEs when using the applications, but they are not test engineers. New tools are emerging. However, even now they can watch a user explore the application’s functionality, create automated tests from their session and even file defects directly to the developers with details on how to duplicate the bug. In the future, AI agents can learn how SMEs approach the application and gain a better understanding. Eventually, the AI will create the first-pass tests for the SME to review.

So, the important trends in DevOps this year are the increased focus on using GenAI to improve testing to increase deployment frequency, reduce the lead time for changes, and reduce the change failure rate, three of the four DORA metrics. This will not only boost developers’ productivity but hopefully free up more time for them to focus on training and improving their skills using these new tools.

TRENDING STORIES
David Brooks is Senior Vice President of Evangelism at Copado. He spent nearly 9 years at Salesforce as the Vice President of Product Management where he was responsible for building the AppExchange and later managing teams on the Force.com platform...
Read more from David Brooks
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.