Reference
Test Cases
Define natural language test cases for Magnitude’s AI agent to run.
test(id: string, options?: TestOptions)
Parameters
id: string
- Descriptive identifier for the test case.
options: TestOptions
- Configure options for this test case
Methods
Returns: TestCase
, which has chainable methods:
.step(description: string)
-> TestStep