tock / ai.tock.bot.admin.test

Package ai.tock.bot.admin.test

Contains TestPlan and TestPlanExecution to manage automated integration tests

Types

DialogExecutionReport

data class DialogExecutionReport

TestActionReport

data class TestActionReport

TestClientService

A tock client, used to get info from Tock in a potential test context.

interface TestClientService

TestDialogReport

data class TestDialogReport

TestPlan

A test plan is a set of dialogs to replay.

data class TestPlan

TestPlanDAO

interface TestPlanDAO

TestPlanExecution

An execution of a TestPlan, with its result.

data class TestPlanExecution

TestPlanExecutionStatus

Status available for a test plan execution. PENDING - the test plan is currently executed. SUCCESS - the test plan has been executed and ended without any errors. FAILED - the test plan has been executed but some errors occurred. COMPLETE - the test plan has been executed but there is no more information about test success.

enum class TestPlanExecutionStatus

Functions

findTestClient

Retrieve a test client from ServiceLoader.

fun findTestClient(): TestClientService