testbot.case.precondition

Module Contents

Classes

PreConditionBase

前置条件判断基类

IsTestCaseType

判断测试用例是否是指定的类型

IsTestCasePriority

判断测试用例是否是指定额优先级

IsPreCasePassed

判断前置测试用例是否是某个期望的结果

IsHigherPriorityPassed

高优先级测试用例全部通过

Attributes

__copyright__

__author__

__email__

testbot.case.precondition.__author__ = 'Nuanguang Gu(Sunny)'[source]
testbot.case.precondition.__email__ = 'nuanguang.gu@aliyun.com'[source]
class testbot.case.precondition.PreConditionBase[source]

前置条件判断基类

abstract is_meet(test_case, reporter: testbot.result.testreporter.StepReporter)[source]
abstract get_description()[source]
class testbot.case.precondition.IsTestCaseType(expected_type)[source]

Bases: PreConditionBase

判断测试用例是否是指定的类型

is_meet(test_case, reporter: testbot.result.testreporter.StepReporter)[source]
get_description()[source]
class testbot.case.precondition.IsTestCasePriority(expected_priority)[source]

Bases: PreConditionBase

判断测试用例是否是指定额优先级

is_meet(test_case, reporter: testbot.result.testreporter.StepReporter)[source]
get_description()[source]
class testbot.case.precondition.IsPreCasePassed(result_list)[source]

Bases: PreConditionBase

判断前置测试用例是否是某个期望的结果

is_meet(test_case, reporter: testbot.result.testreporter.StepReporter)[source]
get_description()[source]
class testbot.case.precondition.IsHigherPriorityPassed(priority, result_list)[source]

Bases: PreConditionBase

高优先级测试用例全部通过

is_meet(test_case, reporter: testbot.result.testreporter.StepReporter)[source]
get_description()[source]