No project description provided
Project description
pytest-dashboard
example
- Download project
- Run some pytest with
--progress-path
option. The value should end with-progress.yaml
.- i.e.)
pytest <path_to_project>\sample-tests --progress-path=<path_to_project>\sample-tests\sample-progress.yaml
- You will get a
sample-progress.yaml
file.
- i.e.)
- Run pytest dashboard
- i.e.)
tally-pytest <path_to_project>\sample-tests
- You will get a
entire-progress.yaml
file in working folder.
- i.e.)
usage
pytest
by this command, you get [datetime]-progress.yaml
file on working directory as realtime pytest progress report.
pytest --progress-path=[path/to/some-progress.yaml]
by this command, you get path/to/some-progress.yaml
file.
The value should end with -progress.yaml
.
tally-pytest PROGRESSES_DIR --entire_progress_path=[path/to/entire-progress.yaml]
by this command, you get started to monitor changes of
the progress files (ends with -progress.yaml
)
inside PROGRESS_DIR
and save the state summary
to path/to/entire-progress.yaml
.
So it is necessary to set --progress-path
option of pytest
ending with -progress.yaml
.
For example, 2024-04-22-progress.yaml
,
Note if your
entire_progress_path
is ends with-progress.yaml
, you cannot save the entire progress file to the same directory with each progress file.
tally-pytest PROGRESS_DIR --notification=True
By this command, you will get mail notification when entire progress is finished.
Note Please implement pytest_dashboard.config that contains information abaout mail address and SMTP server. This command works with powershell
Send-MailMessage
command.
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_dashboard-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603f266b2bdb06fd9a845797bf77d484676b38ca8bdca0048387df10b33929eb |
|
MD5 | 6d21cc65155b9a4162e456f9ec563f39 |
|
BLAKE2b-256 | cbc1857653739a271b43dcd40eb09f4d4a569191d7641bd8dd8eb3c6d68054f2 |