Skip to content

Centralize fixture parameter factories - #33

Merged
LowSwoo merged 3 commits into
mainfrom
codex/typed-fixture-catalog
Sep 21, 2026
Merged

LowSwoo merged 3 commits into
mainfrom
codex/typed-fixture-catalog

Conversation

@dantro86

Copy link
Copy Markdown
Collaborator

Summary

  • move fixture construction out of StepsParameterResolver into one typed FixtureCatalog
  • keep framework parameters and step facades explicit while delegating fixture support and resolution to the catalog
  • bind every registered class to a factory returning that same type at compile time, without marker interfaces or reflection
  • preserve lazy per-test TestData creation and the existing fixture factory behavior
  • verify every catalog entry constructs an instance of its declared type

Verification

  • JAVA_HOME=/opt/homebrew/opt/openjdk@21 ./gradlew qualityGate --no-daemon
  • test-environment/profile test core-sqlite-local (successful against semaphoreui/semaphore:v2.19.12)

@dantro86
dantro86 requested a review from LowSwoo September 18, 2026 08:57
@fiftin

fiftin commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

@dantro86 посмотри пожалуйста merge conflict

…atalog

# Conflicts:
#	src/main/java/io/bookwright/junit/StepsParameterResolver.java
@dantro86

Copy link
Copy Markdown
Collaborator Author

@dantro86 посмотри пожалуйста merge conflict

зарезолвил

@LowSwoo
LowSwoo merged commit f85f5ae into main Sep 21, 2026
3 of 4 checks passed
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.

3 participants