airtest.cli.runner module

class AirtestCase(methodName='runTest')[源代码]

基类:TestCase

PROJECT_ROOT = '.'
SCRIPTEXT = '.air'
TPLEXT = '.png'
classmethod setUpClass()[源代码]

Hook method for setting up class fixture before running tests in the class.

setUp()[源代码]

Hook method for setting up the test fixture before exercising it.

tearDown()[源代码]

Hook method for deconstructing the test fixture after testing it.

runTest()[源代码]
classmethod exec_other_script(scriptpath)[源代码]

run other script in test script

setup_by_args(args)[源代码]
run_script(parsed_args, testcase_cls=<class 'airtest.cli.runner.AirtestCase'>)[源代码]