Skip to content

atopile/pytest-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

pytest-history enables the tracking of test statuses and other metadata across multiple test runs, providing additional insights into test behavior.

Usage

Configuration Options

To enable test history reporting to Supabase, you'll need to provide authentication credentials using any of these methods:

Environment Variables

export [email protected]
export PYTEST_HISTORY_PASSWORD=your-password

Command-line Parameters

pytest --history-email [email protected] --history-password your-password tests/

INI File Setting (Email Only)

# pytest.ini
[pytest]
history-email = [email protected]
# pyproject.toml
[tool.pytest.ini_options]
history-email = "[email protected]"

Note: For security reasons, the password can only be provided via environment variable or command-line parameter.

When multiple configuration methods are used simultaneously, command-line parameters take precedence over environment variables, which take precedence over INI file settings.

Credits

Based on pytest-history by Nicola Coretti.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages