Create a new test case
Create a new test case
application/json
Request Body required
- Array [
- ]
oneOf
CreateSingleTestCase
CreateMultipleTestCases
pipelineSlug string
Slug for the pipeline
name string
The name of the test case
inputs object
The input data for the test case as a JSON object
property name* any
The input data for the test case as a JSON object
expectedOutputs object nullable
The expected outputs for the test case as a JSON object
pipelineSlug string
Slug for the pipeline
testCases object[]
name string required
Possible values: non-empty
Name of the test case.
inputs object required
Input for the test case. Must be a valid JSON object and not an array.
property name* any
Input for the test case. Must be a valid JSON object and not an array.
expectedOutputs object required
Expected outputs for the test case
Responses
- 200
- 400
- 500
Test case(s) created successfully
application/json
application/json; charset=utf-8
Schema
Example (from schema)
Schema
oneOf
MOD1
MOD2
caseId string
ID of the created test case
creationCount integer
Number of created test cases
{}
Schema
Example (from schema)
Schema
oneOf
MOD1
MOD2
caseId string
ID of the created test case
creationCount integer
Number of created test cases
{}
Bad request
Server error
Loading...