tock / ai.tock.bot.admin.test / TestPlanDAO

TestPlanDAO

interface TestPlanDAO (source)

Functions

getPlanExecution

abstract fun getPlanExecution(testPlanId: Id<TestPlan>): TestPlanExecution?

getPlanExecutions

abstract fun getPlanExecutions(testPlanId: Id<TestPlan>): List<TestPlanExecution>

getPlansByApplicationId

abstract fun getPlansByApplicationId(applicationId: String): List<TestPlan>

getTestPlan

abstract fun getTestPlan(testPlanId: Id<TestPlan>): TestPlan?

getTestPlanExecution

abstract fun getTestPlanExecution(testPlan: TestPlan, testPlanExecutionId: Id<TestPlanExecution>): TestPlanExecution?

getTestPlans

abstract fun getTestPlans(): List<TestPlan>

removeTestPlan

Remove the given test plan from the database.

abstract fun removeTestPlan(planId: Id<TestPlan>): Unit

saveTestExecution

Save the given common test plan execution into the mongo database.

abstract fun saveTestExecution(testPlanExecution: TestPlanExecution): Unit

saveTestPlan

Save the given common test plan into the mongo database.

abstract fun saveTestPlan(testPlan: TestPlan): Unit