Skip to main content

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:

  1. start pre_test of Second
  2. pre_test of First
  3. wait pre_test of First
  4. run test of First
  5. start post_test of First
  6. wait pre_test of Second
  7. run test of Second
  8. run post_test of Second
  9. wait post_test of First
  10. wait post_test of Second

On the other hand without defining Second_pre, the order will be: TESTS = ["first", "second"]

  1. pre_test of First
  2. wait pre_test of First
  3. run test of First
  4. start post_test of First
  5. start pre_test of Second
  6. wait pre_test of Second
  7. run test of Second
  8. run post_test of Second
  9. wait post_test of First
  10. 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

jot_iris-1.20.9-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file jot_iris-1.20.9-py3-none-any.whl.

File metadata

  • Download URL: jot_iris-1.20.9-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for jot_iris-1.20.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4f170d85ac91fe10bc7b4f31e0ee3bbcf1558bad73bb12d78c2fc6537f94ad57
MD5 0edd326b1f5f7552ba83a299b5038176
BLAKE2b-256 e7dd6e498ebcec7488305a832ea35869afa907b7ba0881a384b7c498202788d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page