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.
| SDK | client.test_plans.generate(system_id, options=None, idempotency_key=None) |
|---|---|
| Retourne | JobRef |
Parameters:
| Emplacement | Paramètre | Type | Requis | Défaut | Description |
|---|---|---|---|---|---|
| Path | system_id | string | Requis | — | System UUID. |
| Body | criteria | list[str] | Optionnel | — | Criterion ids to include. |
| Body | nb_tests | integer | Optionnel | 3 | Number of tests per criterion. Minimum 1, maximum 50. |
| Body | lang | string | Optionnel | en | Generation language. |
| Body | force_new_plan | boolean | Optionnel | false | Force a new plan instead of reusing an existing one. |
| SDK option | idempotency_key | string | Optionnel | — | Sent as the Idempotency-Key header. |
client.testPlans.list(systemId)
Read the active and latest test plans for a system.
| SDK | client.test_plans.list(system_id) |
|---|---|
| Retourne | TestPlansOverview |
Parameters:
| Emplacement | Paramètre | Type | Requis | Description |
|---|---|---|---|---|
| Path | system_id | string | Requis | System UUID. |
client.testPlans.get(planId)
Read one test plan.
| SDK | client.test_plans.get(plan_id) |
|---|---|
| Retourne | TestPlan |
Parameters:
| Emplacement | Paramètre | Type | Requis | Description |
|---|---|---|---|---|
| Path | plan_id | string | Requis | Test plan UUID. |
Cette page vous a été utile ?