Skip to content

Add with_model Test::Unit support - #112

Draft
nertzy wants to merge 1 commit into
masterfrom
with-model-test-unit-harness
Draft

nertzy wants to merge 1 commit into
masterfrom
with-model-test-unit-harness

Conversation

@nertzy

@nertzy nertzy commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

with_model's Test::Unit callbacks create models before ordinary setup, so the test harness must establish its SQLite connection before enabling the integration.

Add the released development dependency and load its Test::Unit integration after establishing the connection. The upper stack layers exercise that lifecycle through fixture_builder's real behavior tests rather than testing with_model itself.

@nertzy nertzy changed the title with model test unit harness Add with_model Test::Unit support Sep 5, 2026
@nertzy
nertzy force-pushed the with-model-test-unit-harness branch from 755b094 to 8039516 Compare September 5, 2026 01:30
@nertzy
nertzy marked this pull request as draft September 7, 2026 21:41
with_model's Test::Unit callbacks create models before ordinary setup,
so establish SQLite while loading the test helper before enabling the
integration.

Add the released development dependency and convenience entrypoint
without changing the existing database or model setup. Later stack
layers can use the lifecycle without duplicating this prerequisite.

#110
@nertzy
nertzy force-pushed the with-model-test-unit-harness branch from 8039516 to 4849ccd Compare September 8, 2026 19:46
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