From 3c7c4f22b90d437c5b6af21a4dfb3b8fee2246eb Mon Sep 17 00:00:00 2001 From: mnhock Date: Sun, 9 Jun 2024 09:57:53 +0200 Subject: [PATCH] Add custom rule usage to README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a121162..530cf11 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The `${taikai.version}` property should be defined as a property in your Maven p JUnit 5 Example test ------------------- -```java +``` @Test void shouldFulfilConstrains() { Taikai.builder() @@ -62,6 +62,7 @@ void shouldFulfilConstrains() { .naming(naming -> naming .classesShouldNotMatch(".*Impl") .interfacesShouldNotHavePrefixI())) + .addRule(TaikaiRule.of(...)) //add custom ArchUnit here .build() .check(); }