Super simple test sequencer for production testing
Project description
Super Simple Test Sequencer
Install
pip install jot-iris
Create new test sequence
This command creates new empty/template test sequence to test_definitions/ directory.
iris.py --create NAME_OF_TEST_SUITE
Modify the template at test_definitions/ to create your own sequence.
Run sequence
super_simple_test_runner.py
Test order
Order of the tests is defined on test_definition.py. In addition of the actual test each test case may also define pre-, and post-tests. Pre-tests can be run on specific order, but post-tests are always triggered right after the actual test.
TESTS = ["Second_pre", "First", "Second"]
Will run pre-test of Second test case on parallel with first test case. Order will be:
- start pre_test of Second
- pre_test of First
- wait pre_test of First
- run test of First
- start post_test of First
- wait pre_test of Second
- run test of Second
- run post_test of Second
- wait post_test of First
- wait post_test of Second
On the other hand without defining Second_pre, the order will be: TESTS = ["first", "second"]
- pre_test of First
- wait pre_test of First
- run test of First
- start post_test of First
- start pre_test of Second
- wait pre_test of Second
- run test of Second
- run post_test of Second
- wait post_test of First
- wait post_test of Second
More information
See video of the concept (in finnish): https://youtu.be/x7MCSb7BLW4
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for jot_iris-1.14.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44fea6675df3cb7ed28a4cdf49eeb3a332ab7712a0f0d74a7b4cd83518a8e38e |
|
MD5 | ac6b4c96c2d1a294ead276c0c47fa282 |
|
BLAKE2b-256 | 09bd01e96827e23bfbc5efa7a644cad86c3d94627a6cb803e1340ebaf94b5420 |