tock / ai.tock.bot.admin.test / TestPlan

# TestPlan

`data class TestPlan` (source)

A test plan is a set of dialogs to replay.

### Constructors

#### <init> | A test plan is a set of dialogs to replay. `TestPlan(dialogs: List<TestDialogReport>, name: String, applicationId: String, namespace: String, nlpModel: String, botApplicationConfigurationId: Id<BotApplicationConfiguration>, locale: Locale = defaultLocale, startAction: Message? = null, targetConnectorType: ConnectorType = ConnectorType.none, _id: Id<TestPlan> = newId())`

### Properties

#### _id | The identifier of the test plan. `val _id: Id<TestPlan>`
#### applicationId | The tested application identifier. `val applicationId: String`
#### botApplicationConfigurationId | The bot configuration id. `val botApplicationConfigurationId: Id<BotApplicationConfiguration>`
#### dialogs | The dialogs of the test. `val dialogs: List<TestDialogReport>`
#### locale | The locale of the test. `val locale: Locale`
#### name | The name of the test. `val name: String`
#### namespace | The namespace of the nlp model. `val namespace: String`
#### nlpModel | The name of the nlp model. `val nlpModel: String`
#### startAction | The optional action to play, before starting the test. `val startAction: Message?`
#### targetConnectorType | The ConnectorType tested. `val targetConnectorType: ConnectorType`