Skip to main content

terminal ui for exploring and running tests

Project description

pytest-explorer

Fast terminal ui pytest explorer.

image

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


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)

Uploaded Source

Built Distributions

pytest_explorer-0.1.0-py3-none-win_amd64.whl (1.6 MB view hashes)

Uploaded Python 3 Windows x86-64

pytest_explorer-0.1.0-py3-none-win32.whl (1.4 MB view hashes)

Uploaded Python 3 Windows x86

pytest_explorer-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

pytest_explorer-0.1.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (2.3 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ s390x

pytest_explorer-0.1.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (2.2 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ppc64le

pytest_explorer-0.1.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (2.1 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ i686

pytest_explorer-0.1.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.0 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

pytest_explorer-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

pytest_explorer-0.1.0-py3-none-macosx_11_0_arm64.whl (1.5 MB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

pytest_explorer-0.1.0-py3-none-macosx_10_7_x86_64.whl (1.6 MB view hashes)

Uploaded Python 3 macOS 10.7+ x86-64

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