---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/application-development

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# ATF test generation in Build Agent

# ATF test generation in Build Agent {#ariaid-title1}

Release version: Australia  
Updated July 21, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The Build Agent can generate Automated Test Framework (ATF) tests while you create or edit applications. This capability helps validate your builds with consistent, automated test coverage.

## Key benefits {#test-agent-atf-test-gen-ba__section_benefits}

ATF test generation in Build Agent provides these benefits:

* Automated test creation during application development reduces manual test authoring effort
* AI-driven test generation ensures consistent test patterns and improved coverage
* Failed tests are automatically triaged to help you quickly identify and address issues
* User consent gates ensure applications only generate tests when explicitly authorized
{#test-agent-atf-test-gen-ba__ul_vz3_jqj_zjc}

## How it works {#test-agent-atf-test-gen-ba__section_how_it_works}

The following information describes how ATF test generation integrates with the Build Agent workflow:

* After successfully building and installing an application, the Build Agent displays a consent prompt asking whether you want to generate automated tests for the application
* If you accept, the Build Agent generates test cases using ATF patterns and best practices
* Generated tests run through quality validators to ensure consistency and coverage
* You can opt out entirely with a feature flag if your team doesn't use automated testing
{#test-agent-atf-test-gen-ba__ul_wz3_jqj_zjc}

## User workflow {#test-agent-atf-test-gen-ba__section_workflow}

The ATF test generation workflow follows this sequence:

1. You create or edit an application using the Build Agent
2. You complete the build and install process
3. The Build Agent displays a consent prompt: "Generate automated tests for this application?"
4. You choose one of the following:
   * Yes --- Proceed with test generation
   * No --- Skip test generation for this build
   * Remind me later --- Defer the decision until the next build
   {#test-agent-atf-test-gen-ba__ul_yz3_jqj_zjc}
5. If you select Yes and after test generation completes, the Build Agent automatically executes the server-side tests. If the Run UI ATF tests setting is enabled, the client-side UI tests run automatically as well. You can also manually trigger UI tests at any time.
{#test-agent-atf-test-gen-ba__ol_xz3_jqj_zjc}

