Exploring Test generation
Summarize
Summary of Exploring Test generation
The Test generation application in the Australia release is designed to simplify and accelerate test automation by generating comprehensive test scripts from high-level test requirements. It significantly reduces manual effort and technical complexity by allowing users to iteratively refine generated tests until they meet their needs. However, note that this application is being prepared for future deprecation: it will no longer be installed on new instances but will remain supported for existing users.
Show less
Key Features
- Automated Test Creation: Generates detailed test cases from simple user-provided requirements, ensuring thorough test coverage.
- Iterative Refinement: Users can modify prompts and preview generated tests multiple times before finalizing.
- AI Model Integration: Supports multiple AI providers including Now LLM Service, Azure OpenAI, Google Gemini, and Anthropic Claude on AWS, configurable via AI Control Tower and AI Admin Hub.
User Roles and Access
Access to Test generation functions is role-based, combining the now.assist.creator role with specific roles for setup and test creation:
- systemadmin + now.assist.creator: Setup and write Test generation tests.
- atftestadmin + now.assist.creator: Setup, access, and write tests including ATF tests.
- atftestdesigner + now.assist.creator: Write and debug ATF tests, access Test generation.
- atfwsdesigner + now.assist.creator: Build web service tests, write ATF tests, and access Test generation.
Benefits for ServiceNow Customers
- Efficiency: Automates test case generation, reducing time and manual effort needed for test creation.
- Flexibility: Enables users to refine and adjust tests easily before finalizing, enhancing test accuracy.
- Integration: Leverages multiple AI platforms for generative capabilities, configurable to fit your organizational preferences.
Next Steps
To maximize the value of Test generation, customers should explore usage guides and references for detailed instructions on how to effectively implement and customize test generation within their ServiceNow environment.
If you are new to Test generation application, read this overview to learn what the app can do.
Starting with the Australia release, Test generation is being prepared for future deprecation. It will be hidden and no longer installed on new instances but will continue to be supported. For details, see the Deprecation Process [KB0867184] article in the Now Support Knowledge Base.
Test generation overview
- Test generation store application simplifies the process of creating test cases, significantly reducing manual effort and time.
- You can only provide high-level test requirements, making the process more accessible and less technical.
- Test generation application generates comprehensive test cases, ensuring thorough testing coverage.
- You can keep modifying the prompt without saving the generated tests until the final objective has been attained.
You can use Now LLM Service, Azure OpenAI, Google Gemini or Anthropic Claude on AWS as the AI model provider for all generative AI skills and AI agents. Use the Configuration Controls in AI Control Tower to define which options are available, then set the skill-level preferences in the AI Admin Hub console. For more information, see Large language models on the ServiceNow AI Platform®.
Test generation users
| Users | Description |
|---|---|
| system_admin + now.assist.creator | This role is required for the setup of the Test generation store application and write Test generation tests. |
| atf_test_admin + now.assist.creator | This role is required to setup and write ATF tests, access the Test generation application, and write Test generation tests. |
| atf_test_designer + now.assist.creator | This role can write and debug ATF tests, access the Test generation application and write Test generation tests. |
| atf_ws_designer + now.assist.creator | This role can access web service modules for test development, build web service tests, write ATF tests, access the Test generation application and write Test generation tests. |
Test generation benefits
| Benefit | Feature | Users |
|---|---|---|
| Automate test generation | Generate a test using Test generation | System Administrator and Creator Pro |
| Edit a generated test after the preview | Edit a generated test using Test generation | System Administrator and Creator Pro |