Testing agentically developed apps

concept australia Updated Nov 3, 2026 2 min read vc-and-atf.md
Raw file servicenow.com

As part of the agentic development process on the ServiceNow AI Platform, Build Agent can generate, run, and troubleshoot Automated Test Framework (ATF) tests.

When you use agentic development, the ServiceNow AI Platform can:

  • Scaffold the data model, business logic, and user interface based on your prompts.
  • Generate ready-to-use ATF tests that validate the functionality of your new applications or flows.
  • Incorporate quality assurance and code resilience from the start, reducing the need to address them after initial development.

This means you can go from idea to a working, testable app much faster. After the initial generation, you can refine the app and its tests in ServiceNow Studio or the ServiceNow IDE, and run the ATF tests to verify that the app functions correctly.

Note: Build Agent can create, edit, and run ATF tests. For more information, see Test what you built with Build Agent.

Test Agent generates ATF tests for code that Build Agent creates, runs the tests, and performs a root cause analysis (RCA) on failures. If a test fails, Test Agent applies safe fixes or surfaces guidance in the chat panel.The tests can include ATF functional tests and UI tests. For details on configuring tests, see Configure auto test prompting and UI tests.You can also ask Build Agent to create or run a test suite to run multiple tests as a group.

Test execution requires the ATF Test Generator and Cloud Runner app to be installed and a cloud user set up. For more information, see ATF Test Generator and Cloud Runner.

If you start from an Autonomous Engineer plan, Test Agent reads the stories and acceptance criteria in the plan and generates tests as implementation begins, without a separate prompt. For more information, see Autonomous Engineer.

ATF has a troubleshooting agent to debug test failures on specific metadata. For details, see ATF troubleshooting agent.

For full documentation on Automated Test Framework, see Automated Test Framework (ATF).

Parent Topic:Agentic development on the ServiceNow AI Platform

Keywords vibe codingAI-assisted developmentautomated testingtest generationapplication developmentquality assurance
Search documentation
Search document titles and file paths on the australia branch