Skip to content

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

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

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

Conversation

@jimisola
Copy link
Member

@jimisola jimisola commented Mar 3, 2026

Summary

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

  • build.gradle: io.github.reqstool.gradle-plugin configured, JUnit 6, wires buildassembleRequirements
  • settings.gradle: project name mypackage
  • 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 (gradle build → check zip → reqstool status)

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

Test plan

  • gradle build compiles, runs tests, and generates build/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 28536f7 into main Mar 3, 2026
7 checks passed
@jimisola jimisola deleted the test/add-test-fixture branch March 3, 2026 20:31
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