terminal ui for exploring and running tests
Project description
pytest-explorer
Fast terminal ui pytest explorer.
Bench test collecting on aiohttp tests
repo: https://github.com/aio-libs/aiohttp
with pytest, coverage was turned off
command: time pytest --co
pytest --co 1.21s user 0.06s system 99% cpu 1.278 total
with pytexp
command: time pytexp -c
pytexp -c 0.08s user 0.01s system 83% cpu 0.104 total
Build from source
- Install rust (Minimum supported version: 1.67) https://www.rust-lang.org/tools/install
git clone https://github.com/antonguzun/pytest-explorer.git
cd pytest-explorer
- build with cargo
cargo build --release
- set softlink
ls -s $(pwd)/target/release/pytexp /usr/bin/pytexp
Usage
- activate virtual env
source ./venv/bin/activate
- set PYTHONPATH if needed
- start pytexp in directory with tests
Known Limitations
Test collecting:
- parametrized tests are not implemented
- inheritanced tests in classes are not implemented
Deep cross-file ast analysis is needed
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
pytest_explorer-0.1.0.tar.gz
(45.4 kB
view hashes)
Built Distributions
Close
Hashes for pytest_explorer-0.1.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06f749aeb7f3a0f9e76d6bd4ff7f85ebf99ce4249cf122ff619c5fdc907d51ba |
|
MD5 | 7830710e4501f7f22a590b1fb9a6d51c |
|
BLAKE2b-256 | efefae735e166a8b85b8612f8ba12915b741a39f23176898c3f5f63ae5935d7b |
Close
Hashes for pytest_explorer-0.1.0-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07914acd0211341777e5c8740e61f93ed7f6ea563d2bd35881749124e06c06bd |
|
MD5 | 5c05167e1f31dd9d91b3cad09ca5e2b5 |
|
BLAKE2b-256 | a58d30f3b257478c49bbf16a8ef312572ca21a5ccc0b072863a8d10bfa0aef8f |
Close
Hashes for pytest_explorer-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f464628f41dd198ba6f24c917b501c1d85922b0cd51723bfa441de6b6548db4c |
|
MD5 | a81448affc916fae43788647f4e27837 |
|
BLAKE2b-256 | 38b074f3001a9c32b6548b27561b6e8e61a0120e3c2b9b429f5628dee9a7809c |
Close
Hashes for pytest_explorer-0.1.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f565b53d50dcb6801ad30732cf7b21d687758c05298f10ca2a109709c78276c |
|
MD5 | 987b8eacedc48b6ca98b0b9426b9136f |
|
BLAKE2b-256 | 8e23aba5f8228dc669ecd858f1e2a6e11af6734ba335e7cec5d9cfd6e7184d8d |
Close
Hashes for pytest_explorer-0.1.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1d6a83030b0f4f7fb9265946aa96740266a3536d49a34b8dc99d175b03c0333 |
|
MD5 | 7c081bab9ef7e626aaef7c242ad80853 |
|
BLAKE2b-256 | 424f6fdb1e83ddccda0455ee2470d41226999a971faf3157a115e38c9f5e61ce |
Close
Hashes for pytest_explorer-0.1.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1065dc499670ced72cf49737cbbf4a8dc8cb344055860dc8922d8a1f555a1395 |
|
MD5 | 9b07ac6c351562f09381c9c99117868c |
|
BLAKE2b-256 | a3b3b4f2b6aa26ced53ecf21429b2595d6a95be1188ce948810671202641ca92 |
Close
Hashes for pytest_explorer-0.1.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77d2ed5d0b7945c54a97384c2c70ea08868575adc3e28ea4dac1a3679845e3ff |
|
MD5 | cf4eba1f9935641c207ad4d0a880bb24 |
|
BLAKE2b-256 | 9bbf82e8653cdb0c9eb0076e83b0303828f0088d77b39f1fa09eca777722c12f |
Close
Hashes for pytest_explorer-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ffab240ad66d78b863c853f621caf62b66938bd9b8ae57ffaef7028b049e910 |
|
MD5 | 4aca33816eb5312e261626ce9b539c0b |
|
BLAKE2b-256 | 2e2423779bd798e7ad00e5c9ac3c8789415ebff336e8f7de0881df99b595a00c |
Close
Hashes for pytest_explorer-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f726b27b731fa55a10847378cbb70f20e67a9a8cdd653a7f1793ef9cb4c62e6 |
|
MD5 | 03be77ca1b1ed912dbd2851f81f799f9 |
|
BLAKE2b-256 | 1a68c6145f016efe021e22570a523279184c8404f958985474e583304daf870a |
Close
Hashes for pytest_explorer-0.1.0-py3-none-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16222de49f0a633425f0e8b87408d4e217aa0cc767910547da2195ab056ab54a |
|
MD5 | 5c3b174ad9cba7c634979d29a4c6ed98 |
|
BLAKE2b-256 | b7c9ab303e2be88d8ad43ebe66b5418b84486d95e537d7622e562e3de26a2025 |