Skip to content

docs: update tests/README.md to reference hatch#215

Closed
sheeki03 wants to merge 1 commit intoGitHubSecurityLab:mainfrom
sheeki03:fix/tests-readme
Closed

docs: update tests/README.md to reference hatch#215
sheeki03 wants to merge 1 commit intoGitHubSecurityLab:mainfrom
sheeki03:fix/tests-readme

Conversation

@sheeki03
Copy link
Copy Markdown

Problem

tests/README.md references pip install -r requirements-test.txt and pytest.ini, neither of which exist. The project uses hatch for test orchestration (hatch test), so the instructions are broken for anyone trying to run tests from the README.

Changes

Replaces all stale references with working hatch commands:

  • hatch test for running all tests
  • hatch test --python 3.11 / 3.13 for targeting specific versions
  • hatch test -- tests/file.py -v for running specific files/classes/functions
  • Full CI invocation example: hatch fmt --linter --check + hatch test --python 3.11 --cover --randomize --parallel --retries 2 --retry-delay 1
  • Points test configuration to pyproject.toml instead of nonexistent pytest.ini

….ini

The project uses hatch for test orchestration. Replace stale
requirements-test.txt and pytest.ini references with hatch commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants