Skip to content

test: add e2e test for sdist build and standardise pytest config - #101

Merged
jimisola merged 5 commits into
mainfrom
test/add-e2e-tests
Mar 6, 2026
Merged

test: add e2e test for sdist build and standardise pytest config#101
jimisola merged 5 commits into
mainfrom
test/add-e2e-tests

Conversation

@jimisola

@jimisola jimisola commented Mar 4, 2026

Copy link
Copy Markdown
Member

Summary

  • Add tests/e2e/ with a full sdist-build e2e test that verifies the plugin bundles all reqstool artifacts (reqstool_config.yml, annotations.yml, requirements.yml, software_verification_cases.yml) and that annotations.yml contains expected decorator IDs (REQ_001, SVC_001)
  • Add tests/integration/ stub directory for future integration tests
  • Fix addopts: remove broken '-m not slow or not integration' filter; use @pytest.mark.skipif on each test for conditional execution
  • Add integration and e2e markers; drop unused flaky/slow markers
  • Update CI: bump poetry to 2.3.2, build wheel first, install plugin via poetry self add, run full pytest with --junitxml

Test plan

  • CI passes (linting + build + tests)
  • E2e test runs and passes: test_poetry_build_sdist_contains_reqstool_artifacts
  • E2e test is skipped gracefully when poetry is not on PATH or plugin not installed

jimisola added 2 commits March 4, 2026 12:27
- Add tests/e2e/ with a full sdist-build e2e test that verifies the
  plugin bundles all reqstool artifacts and annotations.yml contains
  expected decorator IDs (REQ_001, SVC_001)
- Add tests/integration/ stub directory for future integration tests
- Fix addopts: remove broken '-m not slow or not integration' filter;
  use @pytest.mark.skipif on each test for conditional execution
- Add integration and e2e markers; drop unused flaky/slow markers
- Update CI: bump poetry to 2.3.2, build wheel first, install plugin
  via 'poetry self add', run full pytest with --junitxml
@jimisola jimisola self-assigned this Mar 4, 2026
@jimisola
jimisola merged commit 8ef14a7 into main Mar 6, 2026
7 checks passed
@jimisola
jimisola deleted the test/add-e2e-tests branch March 6, 2026 21:19
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