Skip to content

Support Test::Unit lifecycle callbacks - #70

Merged
nertzy merged 1 commit into
gh-68/teardown-safetyfrom
gh-68/test-unit-lifecycle
Sep 3, 2026
Merged

Support Test::Unit lifecycle callbacks#70
nertzy merged 1 commit into
gh-68/teardown-safetyfrom
gh-68/test-unit-lifecycle

Conversation

@nertzy

@nertzy nertzy commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Test::Unit users cannot currently register with_model through Test::Unit’s native fixture callbacks. This layer adds :test_unit to the existing lifecycle dispatch rather than introducing a separate implementation.

  • Create models before inherited and user setup callbacks
  • Destroy models in reverse order after inherited and user teardown callbacks
  • Preserve original setup and teardown errors during cleanup
  • Add isolated lifecycle and STI parity coverage

Part of #68. Stack layer 2 of 4.

@nertzy nertzy changed the title gh 68/test unit lifecycle Support Test::Unit lifecycle callbacks Sep 3, 2026
@nertzy
nertzy marked this pull request as ready for review September 3, 2026 19:47
@nertzy
nertzy merged commit 64aa57b into master Sep 3, 2026
10 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.

1 participant