Swallow
  • YOUR FIRST MODEL
    • Setting up your first project
    • Manual setup of a new product
    • Excel Model Upload
    • Create your team
    • Essential concepts
      • Syntax
      • Steps
      • Collections
      • Try Model
      • Spotlight
  • PROCESS
    • Team Management
    • Governance & Collaboration
  • BUILD
    • Building with AI
    • Step builder
      • Understanding step types
      • Ordering step blocks
      • Placeholder mode
      • Up/Downloading models
      • Sharing your model
      • Running tests
    • Inputs
    • Enriching Raw Data
      • Transform Data
      • Enrich via API
      • Data Set
      • Collection
      • Custom Code
    • Setting Up Decisions
      • Exclusions
      • Excesses
      • Endorsements
      • Refer
    • Making Calculations
      • Factors
      • Calculation
    • Outputs
  • TEST
    • Creating New Tests
    • Running Tests
    • Editing Tests
    • Reading & Interpreting Tests
    • Impact Testing
  • DATA
    • Working with real-time data
    • Data Views
    • Data Quotas
    • Troubleshooting
    • API Webhooks
    • Data Downloads
  • ADMIN & SETTINGS
    • Project Management
    • Account Management
  • INTEGRATIONS
    • Introduction
    • Payments
      • Stripe
      • GoCardless
      • Adyen
    • Alerting
      • Slack
      • Zapier
    • Data
      • AWS S3
      • Google Sheets
    • Admin
      • Socotra
      • Guidewire
      • Hubspot
      • Salesforce
  • Developer API
    • Introduction
    • Authentication
    • Errors codes
    • Endpoints
      • /quotes
      • /projects
      • /tests
      • /process
Powered by GitBook
On this page
  • 1. Create a new test
  • 2. Choose how to create your test
  • Create tests with AI
  • Create randomised tests against selected inputs
  • Create a single new test
  1. TEST

Creating New Tests

Creating test inputs and cases for use throughout your project

PreviousOutputsNextRunning Tests

Last updated 1 year ago

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.

2. Choose how to create your test

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

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.

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.

- Prompt Swallow's AI assistant to build you an entire suite of test scenarios automatically

-

- Manually add the input criteria for a test yourself

Create test with AI
Create randomised tests against selected inputs
Create a single new test
Create Tests button
Create a test dialogue box
Creating tests with AI, based on a prompt