Skip to content

test(fixtures): add test project with SVCs, tests, and reqstool status validation - #143

Merged
jimisola merged 1 commit into
mainfrom
test/add-test-fixture
Mar 3, 2026
Merged

test(fixtures): add test project with SVCs, tests, and reqstool status validation#143
jimisola merged 1 commit into
mainfrom
test/add-test-fixture

Conversation

@jimisola

@jimisola jimisola commented Mar 3, 2026

Copy link
Copy Markdown
Member

Summary

Adds tests/fixtures/test_project/ — a minimal Maven project for end-to-end manual validation:

  • pom.xml: reqstool-maven-plugin configured with APT processor, Surefire, and assemble-and-attach-zip-artifact goal
  • src/main/java/.../Hello.java: @Requirements("REQ_001") on hello()
  • src/test/java/.../HelloTest.java: @SVCs("SVC_001") on testHello()
  • docs/reqstool/requirements.yml: REQ_001
  • docs/reqstool/software_verification_cases.yml: SVC_001 → REQ_001
  • README.md: 3-step validation guide (mvn verify → check zip → reqstool status)

Like the Gradle plugin, Maven bundles everything (requirements, SVCs, annotations, test results) into a self-contained zip, so reqstool status needs only a single extract step.

Test plan

  • mvn verify compiles, runs tests, and generates target/reqstool/mypackage-0.1.0-reqstool.zip
  • zip contains requirements, SVCs, annotations, test results, and reqstool_config.yml
  • reqstool status shows REQ_001 implemented, T1 P1, no missing tests or SVCs

@jimisola jimisola self-assigned this Mar 3, 2026
@jimisola
jimisola merged commit 9a1073a into main Mar 3, 2026
9 checks passed
@jimisola
jimisola deleted the test/add-test-fixture branch March 3, 2026 20:32
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