Skip to main content

Test plans

Choose your language:

Test plans define the criteria and tests used for a system.

client.testPlans.generate(systemId, options)

Start asynchronous test plan generation for a system.

SDKclient.test_plans.generate(system_id, options=None, idempotency_key=None)
ReturnsJobRef

Parameters:

LocationParameterTypeRequiredDefaultDescription
Pathsystem_idstringRequiredSystem UUID.
Bodycriterialist[str]OptionalCriterion ids to include.
Bodynb_testsintegerOptional3Number of tests per criterion. Minimum 1, maximum 50.
BodylangstringOptionalenGeneration language.
Bodyforce_new_planbooleanOptionalfalseForce a new plan instead of reusing an existing one.
SDK optionidempotency_keystringOptionalSent as the Idempotency-Key header.

client.testPlans.list(systemId)

Read the active and latest test plans for a system.

SDKclient.test_plans.list(system_id)
ReturnsTestPlansOverview

Parameters:

LocationParameterTypeRequiredDescription
Pathsystem_idstringRequiredSystem UUID.

client.testPlans.get(planId)

Read one test plan.

SDKclient.test_plans.get(plan_id)
ReturnsTestPlan

Parameters:

LocationParameterTypeRequiredDescription
Pathplan_idstringRequiredTest plan UUID.