Skip to content

Relocating XUnit Assertions into different namespace

Compare
Choose a tag to compare
@fgather fgather released this 26 Feb 19:54
11a80e4

Since the xUnit Namespace and the Archunit Asserts were colliding, we moved the assertion functions for the xunit integration into another namespace. This is a breaking change and will require you to do the following replacement:
Assert.ArchRule() -> ArchRuleAssert.CheckRule()

We also allow now to create custom rules, similar to the ones in ArchUnit for Java.