Overview
AI Test Generation enables you to create comprehensive test coverage quickly by leveraging existing test suites, uploading documentation or describing tests in plain language. The AI analyzes your inputs and generates structured, executable tests that match your application’s patterns and testing needs.What You Can Generate
Test
Create one or more step-by-step tests from various sources including video recordings, Loom links, files or existing suite patterns
Scenario Table
Generate data-driven scenario tables with variations based on your instructions, enabling parameterized testing across multiple data sets
How to Use AI Test Generation
Choose Your Generation Type
When you open AI Test Generation, select what you want to create - Tests or Scenario Table.Provide context about your application to help Spur generate relevant, accurate results. Include information about your app’s purpose, key features and user workflows.

Select Your Generation Method
Choose from three methods for generating tests, each suited to different workflows:

a) From Exisiting Suites
Leverage your existing test suite as a foundation for new tests. The AI analyzes your saved suites to understand your testing patterns and generates new tests that follow the same structure and style.

b) PDF, CSV or Markdown
Upload test requirements, specifications, or documentation files to convert into structured test flows. The AI extracts test scenarios from your documentation and creates executable tests.

Generate Scenario Tables (Optional)
If you selected Scenario Table in step 2, provide instructions for creating data-driven test variations.Scenario tables enable you to run the same test with multiple data sets, validating different user personas, product categories, or input combinations.

Click Generate Tests
The AI processes your inputs and generates structured test steps ready for execution.Review the generated tests, make any necessary adjustments, and click Keep Tests to add them to your test suite..gif?s=26269bfbf36a656d5a3a39e641011dbf)
.gif?s=26269bfbf36a656d5a3a39e641011dbf)
Choose Test Suite
After generation, select which Test Suite to save your test to.
Your test will now appear in the selected Test Suite, ready for execution.

Best Practices
- Be Specific: Provide detailed descriptions and context for more accurate test generation. Include information about expected behaviors, user flows, and validation points.
- Reference Existing Suites: When available, reference similar test suites to help the AI understand your testing patterns and preferred structure.
- Iterate and Refine: Review generated tests and provide feedback through additional instructions to improve results.
- Start Simple: Begin with straightforward test scenarios before generating complex multi-step flows.
- Use Descriptive Names: Clear test names improve organization and make results easier to understand.
Limitations
- Maximum 10 tests per generation run
- Generated tests may require manual review and adjustment
- Complex authentication flows may need additional configuration
- File uploads support PDF, CSV, and Markdown formats only



