Tests added, see the documentation in the tests directory for details. Improved the socket code.
This commit is contained in:
21
tests/requirements.txt
Normal file
21
tests/requirements.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
# Test dependencies for Fenrir screen reader
|
||||
# Install with: pip install -r tests/requirements.txt
|
||||
|
||||
# Core testing framework (required)
|
||||
pytest>=7.0.0
|
||||
|
||||
# Optional but recommended plugins
|
||||
pytest-cov>=4.0.0 # Coverage reporting (pytest --cov)
|
||||
pytest-mock>=3.10.0 # Enhanced mocking utilities
|
||||
pytest-timeout>=2.1.0 # Timeout for hanging tests (pytest --timeout)
|
||||
pytest-xdist>=3.0.0 # Parallel test execution (pytest -n auto)
|
||||
|
||||
# Additional testing utilities (optional)
|
||||
freezegun>=1.2.0 # Time mocking
|
||||
responses>=0.22.0 # HTTP mocking (for future web features)
|
||||
|
||||
# Minimal install (just pytest):
|
||||
# pip install pytest
|
||||
#
|
||||
# Full install (all features):
|
||||
# pip install -r tests/requirements.txt
|
||||
Reference in New Issue
Block a user