tock / ai.tock.bot.admin.test / TestPlanExecution

# TestPlanExecution

`data class TestPlanExecution` (source)

An execution of a TestPlan, with its result.

### Constructors

#### <init> | An execution of a TestPlan, with its result. `TestPlanExecution(testPlanId: Id<TestPlan>, dialogs: List<DialogExecutionReport>, nbErrors: Int, date: Instant = Instant.now(), duration: Duration = Duration.ZERO, _id: Id<TestPlanExecution> = newId(), status: TestPlanExecutionStatus = TestPlanExecutionStatus.PENDING)`

### Properties

#### _id | The execution identifier. `val _id: Id<TestPlanExecution>`
#### date | Date of the execution. `val date: Instant`
#### dialogs | The dialog execution test reports. `val dialogs: List<DialogExecutionReport>`
#### duration | Duration of the execution. `val duration: Duration`
#### nbErrors | Number of errors, if any. `val nbErrors: Int`
#### status | The status of the test plan execution `val status: TestPlanExecutionStatus`
#### testPlanId | The test plan identifier. `val testPlanId: Id<TestPlan>`