Aller au contenu principal

Test plans

Choisissez votre langage :

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)
RetourneJobRef

Parameters:

EmplacementParamètreTypeRequisDéfautDescription
Pathsystem_idstringRequisSystem UUID.
Bodycriterialist[str]OptionnelCriterion ids to include.
Bodynb_testsintegerOptionnel3Number of tests per criterion. Minimum 1, maximum 50.
BodylangstringOptionnelenGeneration language.
Bodyforce_new_planbooleanOptionnelfalseForce a new plan instead of reusing an existing one.
SDK optionidempotency_keystringOptionnelSent 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)
RetourneTestPlansOverview

Parameters:

EmplacementParamètreTypeRequisDescription
Pathsystem_idstringRequisSystem UUID.

client.testPlans.get(planId)

Read one test plan.

SDKclient.test_plans.get(plan_id)
RetourneTestPlan

Parameters:

EmplacementParamètreTypeRequisDescription
Pathplan_idstringRequisTest plan UUID.