Creating New Tests

Creating test inputs and cases for use throughout your project

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.

1. Create a new test

To create a new test, just click the 'Create Tests' button in the top right of the page.

Create Tests button

2. Choose how to create your test

You'll be given three options for creating new test(s):

Create a test dialogue box

Create tests with AI

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.

Creating tests with AI, based on a prompt

Create randomised tests against selected inputs

Select the inputs you want to create randomise tests for from the list of all inputs, and Swallow will generate 100 new test cases.

Create a single new test

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.

Last updated