Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions requirements/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
# Inherit common dependencies from the base requirements file.
-r common.txt
pytest-cov==2.8.1
pytest==5.4.1
sure==1.4.11
responses==0.10.12
pytest-pep8==1.0.6

# --- TESTING AND COVERAGE ---
# Core testing framework (updated to modern version)
pytest>=8.0.0
# Code coverage measurement tool for pytest
pytest-cov>=5.0.0
# Assertion library (ensure compatibility with current Python/pytest versions)
sure>=1.4.11
# Utility for mocking HTTP requests in tests
responses>=0.25.3

# --- CODE QUALITY AND FORMATTING ---
# Uncompromising code formatter (remove version pin to allow latest)
black
# Comprehensive static code checker
flake8
# Flake8 plugin to integrate Black's formatting style rules
flake8-black

# --- ENVIRONMENT AND PACKAGING TOOLS ---
# Tool for automating testing in multiple virtual environments (no version pin)
tox
# Optional: Tox plugin for pyenv integration (may be unnecessary with modern Tox)
tox-pyenv
# Standard Python wheel package builder (no version pin is common practice)
wheel