Skip to content

test: standardize test setup with integration/e2e markers and junit output#71

Merged
jimisola merged 1 commit intomainfrom
test/standardize-test-setup
Mar 4, 2026
Merged

test: standardize test setup with integration/e2e markers and junit output#71
jimisola merged 1 commit intomainfrom
test/standardize-test-setup

Conversation

@jimisola
Copy link
Member

@jimisola jimisola commented Mar 4, 2026

Summary

  • Expand addopts with standard verbose flags (-rsxX, --log-cli-level=DEBUG)
  • Broaden testpaths from tests/unit to tests so future integration/ and e2e/ dirs are auto-discovered
  • Add integration and e2e pytest markers (consistent with other reqstool repos)
  • Drop unused flaky marker (no tests use it anywhere in the org)
  • Fix CI test step: correct package name reqstool_python_decorators, add --junitxml=build/junit.xml and --cov-report=xml:build/coverage.xml
  • Create empty tests/integration/ and tests/e2e/ directory stubs for future use

Test plan

  • hatch run dev:pytest passes locally (32 tests)
  • build/junit.xml and build/coverage.xml generated
  • CI passes on this PR

…utput

- Expand addopts with standard verbose flags
- Broaden testpaths from tests/unit to tests (discovers future dirs)
- Add integration and e2e markers
- Fix CI: use correct package name (reqstool_python_decorators), add --junitxml
- Create empty tests/integration/ and tests/e2e/ directory structure
@jimisola jimisola self-assigned this Mar 4, 2026
@jimisola jimisola merged commit a822d52 into main Mar 4, 2026
11 checks passed
@jimisola jimisola deleted the test/standardize-test-setup branch March 4, 2026 10:13
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.

1 participant