No project description provided
Project description
pytest-infinity
pytest-infinity is a wrapper for pytest, designed to easily command a test session running infinitely using xdist --dist loadgroup
option.
Below is a demonstration for running tests with an "android" and "ios" group:
Infinity was created for complex low-level test suites in mind for hunting down non-deterministic bugs (running high-level or native tests on multiple mobile devices simultaneously).
These are the main principles of infinity:
- Ease-of-use.
- Test history.
- Infinitely-long sessions.
Infinity uses the following pytest plugins for its functionality:
- pytest-xdist - runs tests in parallel.
- pytest-publish - publish live test results to REST and filesystem.
- pytest-xstress - runs tests infinitely over xdist.
Infinity uses the following plugins for its UI:
PLEASE REPORT BUGS!
Usage
Just run infinity <pytest args> ...
The wrapper adds the following flags implicitly:
$ pytest --color yes -v
-n auto --dist loadgroup
--xstress
--publish http://localhost:... <impl defined>
--pubdir <impl defined>
<pytest args> ...
Your pytest args are appended to the end of the cmdline.
Functions
There are a few useful tabs implemented into infinity:
RUN
See a matrix of groups X tests
updated live with [pass][fail][skip] text.
OUTPUT
Raw stdout output of pytest.
LOG
Internal log of infinity, with the output directory printed first.
FILES
Navigatable filesystem with test run info.
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 Distribution
Built Distribution
Hashes for pytest_infinity-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf229a526654957165cf8ac5beb953463d7fe7aeccce208a11e4fa7c62dd4c9f |
|
MD5 | 9a118e3fe1a727ee4259ee548c857093 |
|
BLAKE2b-256 | b99c84ecaec22366556cd123416ad99272b3e19f1c44cf2fcc804bfc20a90c33 |