Skip to main content

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.
  • Run pytest dashboard
    • i.e.) tally-pytest <path_to_project>\sample-tests
    • You will get a entire-progress.yaml file in working folder.

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.


tally-pytest PROGRESS_DIR --dashboart=True

Not implemented!

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_dashboard-0.1.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

pytest_dashboard-0.1.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file pytest_dashboard-0.1.2.tar.gz.

File metadata

  • Download URL: pytest_dashboard-0.1.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure

File hashes

Hashes for pytest_dashboard-0.1.2.tar.gz
Algorithm Hash digest
SHA256 785a4eef8fab5af4dae5c3b653ac1c349b0396b56ab9400c7173278571eae287
MD5 482d3aa9a230dc4547eb38e6967f1c5d
BLAKE2b-256 c78ca3d5b4fbb044bed9ac633772a1b47a7cf4ed0d7992c12f3e02024f8162d4

See more details on using hashes here.

File details

Details for the file pytest_dashboard-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pytest_dashboard-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure

File hashes

Hashes for pytest_dashboard-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b3f1ecfcdf2470ef5f023a61a496f15b65e5b7d19ad07de49b65b4426e3a01bc
MD5 3144bd24487beac751698a21f9c34e7e
BLAKE2b-256 665b726d690f16cb7fbafdb84ecb827b1d6c89462af24f059a4806812bbd984c

See more details on using hashes here.

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