Test step decorator and HTML reporting plugin for pytest
Project description
Test step
test-step is a simple extension of the pytest framework that allows defining test steps inside tests, including file attachments and displaying steps in html reports.
Requirements
Python >=3.11
pip
virtualenv
Setup
virtualenv venv -p <name of Python 3 executable>
source ./venv/bin/activate
pip install -e ".[test]"
Run Tests
In order to run tests on the command line
source ./venv/bin/activate
pytest
Run lint
In order to run lint on the command line
source ./venv/bin/activate
ruff check .
To automatically fix some issues, run ruff check . --fix.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file test_step-1.0.0.tar.gz.
File metadata
- Download URL: test_step-1.0.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1023e01dd333728424eb93181f1226e386b0343e5452e0d20c8cc92965e05a12
|
|
| MD5 |
4cf0446b9e1ae7987e06593d1873a23e
|
|
| BLAKE2b-256 |
4134d2eb5e7161416421fbaf1ab6702e8283eec9c87b39e0317ec104af72dc22
|
File details
Details for the file test_step-1.0.0-py3-none-any.whl.
File metadata
- Download URL: test_step-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f23c8821375f3266014d0ee24702cf9a691f1ffc5cc71d03418facfd26977104
|
|
| MD5 |
2cfda17004ce340f0841f52cc40f1fd5
|
|
| BLAKE2b-256 |
794d03b2bbdfc210ea29d689b92c81f393a8161655f2bbe46fc5865684a84184
|