Skip to content

Refactor shared testing assertions into Odin.Testing core#173

Merged
MarkDerman merged 1 commit into
masterfrom
RefactorTestUtils
May 20, 2026
Merged

Refactor shared testing assertions into Odin.Testing core#173
MarkDerman merged 1 commit into
masterfrom
RefactorTestUtils

Conversation

@MarkDerman
Copy link
Copy Markdown
Owner

Summary

  • Added a shared Odin.Testing library under Testing/Core and moved the common ServiceCollectionAssertions implementation there.
  • Introduced IAssertionAdaptor plus framework-specific adapters for NUnit, xUnit v3, and xUnit v2.
  • Kept each utility project as a thin facade so existing services.AssertServiceRegistration(...) call sites continue to work.
  • Added the shared testing project to Odin.sln and the publish workflow so it is built and packed with the other Testing packages.

Testing

  • Built Testing/Core, Testing/NUnitUtility, Testing/XUnitUtility, and Testing/XUnitV2Utility successfully.
  • Ran Logging/Tests and CQRS/Tests against net10.0; both passed.

@MarkDerman MarkDerman merged commit 8481b26 into master May 20, 2026
1 check failed
@MarkDerman MarkDerman deleted the RefactorTestUtils branch May 20, 2026 19:06
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