Lines Matching +full:twister +full:- +full:tests
1 # Twister Testing
3 Running the tests require the environment variable ZEPHYR_BASE to be set.
5 Twister Testsuite are located in $ZEPHYR_BASE/scripts/tests directory with all the data files in $Z…
12 pip install -r $ZEPHYR_BASE/scripts/requirements-build-test.txt
20 pytest $ZEPHYR_BASE/scripts/tests/twister
23 ## Twister Coverage
25 The coverage for all the tests can be run using the command below. This will collect all the tests …
28 coverage run -m pytest $ZEPHYR_BASE/scripts/tests/twister/
31 Then we can generate the coverage report for just twister script using
34 coverage report -m $ZEPHYR_BASE/scripts/pylib/twister/
37 To generate the coverage report for twister script use below command
40 coverage report -m $ZEPHYR_BASE/scripts/twister
43 The html coverage report for twister can be generated using
46 coverage html twister
49 If needed,the full coverage html report can be generated in every run of "pytest" in the tests dire…
51 ## Organization of tests
53 - conftest.py: Contains common fixtures for use in testing the twister tool.
54 - test_twister.py : Contains basic testcases for environment variables, verifying testcase & platfo…
55 - test_testsuite_class.py : Contains testcases for Testsuite class (except reporting functionality)…
56 - test_testinstance.py : Contains testcases for Testinstance and Testcase class.
57 - test_reporting_testsuite.py : Contains testcases for reporting functionality of Testsuite class o…