Lines Matching refs:test

3 Learn about test runners and how to create a new test runner class.
6 1. [Test Runner Details](#test-runner-details)
7 2. [Creating a Test Runner](#creating-a-test-runner)
9 ## <a name="test-runner-details">Test Runner Details</a>
11 The test runner class is responsible for test execution. Its primary logic
14 top-level args consumed by atest passed onto the test runner. It is up to the
15 test runner to translate those args into the specific args the test runner
16 accepts. In this way, you can think of the test runner as a translator between
17 the atest CLI and your test runner's CLI. The reason for this is so that atest
19 the differing CLIs of various test runners. The test runner should also
20 determine its specific dependencies that need to be built prior to any test
23 ## <a name="creating-a-test-runner">Creating a Test Runner</a>
25 First thing to choose is where to put the test runner. This will primarily
26 depend on if the test runner will be public or private. If public,
32 > add the path of where the test runner lives into ```$PYTHONPATH```. Same
35 To create a new test runner, create a new class that inherits
37 to see what a simple test runner will look like.
42 test runner. Raise an expception if not.
44 to be built prior to test execution.
45 * ```run_tests()```: Execute the test(s).
48 * ```NAME```: Unique name of the test runner.
53 actual test command.
55 Once the test runner class is created, you'll need to add it in
57 test runner in ```_get_test_runners``` like how ```ExampleTestRunner``` is.