Skip to content

refactor: extract shared ItTestSupport helper in integration-tests#64

Merged
dfa1 merged 1 commit into
mainfrom
refactor/it-test-support
Jul 10, 2026
Merged

refactor: extract shared ItTestSupport helper in integration-tests#64
dfa1 merged 1 commit into
mainfrom
refactor/it-test-support

Conversation

@dfa1

@dfa1 dfa1 commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Fixes #54.

Summary

  • Introduces ItTestSupport (package-private) in integration-tests/src/test/java/io/github/dfa1/zstd/it/ holding the shared random(), compressible(), and LEVELS helpers.
  • Removes the duplicate copies from ZstdJniInteropTest and ZstdInteropExtrasTest; both now static-import from ItTestSupport.
  • GoldenCorpusTest was unchanged — it never contained these helpers.

Test plan

  • ./mvnw -pl integration-tests test → 81 tests, 0 failures
  • ./mvnw validate → 0 Checkstyle violations

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@dfa1 dfa1 merged commit 05b737f into main Jul 10, 2026
1 check passed
@dfa1 dfa1 deleted the refactor/it-test-support branch July 10, 2026 17:47
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.

Add a shared test-helper for the integration-tests module

1 participant