| - non-existing suite dir |
| cnf does_not_exist ERR: RuntimeError: No such directory: 'does_not_exist' |
| - no suite.conf |
| --- empty_dir->suite_test/empty_dir/suite.conf ERR: FileNotFoundError: [Errno 2] No such file or directory: 'suite_test/empty_dir/suite.conf' |
| - valid suite dir |
| defaults: |
| timeout: 60s |
| resources: |
| bts: '1' |
| modem: '2' |
| msisdn: '2' |
| nitb: '1' |
| nitb_iface: '1' |
| |
| - run hello world test |
| tst test_suite->hello_world.py: hello world |
| tst test_suite->hello_world.py: I am 'suite_test/test_suite' / 'hello_world.py' |
| tst test_suite->hello_world.py: one |
| tst test_suite->hello_world.py: two |
| tst test_suite->hello_world.py: three |
| - a test with an error |
| tst test_suite->test_error.py: I am 'test_error.py' [test_error.py:1] |
| tst test_suite->test_error.py ERR: AssertionError: [test_error.py:2: assert(False)] |
| - graceful exit. |