airtest.cli.runner module

class AirtestCase(methodName='runTest')[source]

Bases: TestCase

PROJECT_ROOT = '.'
SCRIPTEXT = '.air'
TPLEXT = '.png'
classmethod setUpClass()[source]

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

setUp()[source]

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

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

runTest()[source]
classmethod exec_other_script(scriptpath)[source]

run other script in test script

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