Creating New Tests
Creating test inputs and cases for use throughout your project
Last updated
Creating test inputs and cases for use throughout your project
Last updated
Start by navigating to the 'Test' tab. Test cases that you create in the 'Test' tab can be used throughout all versions of a model within each project, at all stages of the process.
To create a new test, just click the 'Create Tests' button in the top right of the page.
You'll be given three options for creating new test(s):
Create test with AI - Prompt Swallow's AI assistant to build you an entire suite of test scenarios automatically
Create a single new test - Manually add the input criteria for a test yourself
Generate test cases using a written prompt. You can make these as simple or as complex as you like, specifying the number of test cases, as well as specifics about the kinds of inputs you'd like, or whether you want them entirely randomised.
Select the inputs you want to create randomise tests for from the list of all inputs, and Swallow will generate 100 new test cases.
Creating a single test will give you the option to manually input specific test cases.
Complete the three sections:
Name - Name your test with a descriptive name. This will identify the endorsement in your test suite, so make sure it's unique and easy to understand.
Outputs - Enter the expected output price and validity so that the test can compare against the results
Inputs - Add all of the inputs you've specified in your build Inputs.