Add archunit module: ArchUnit for Spring Boot - enforcing layered architecture as a unit test
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Captured from a real `mvn test` run against the module exactly as committed: all four
|
||||
rules across both test classes, including the frozen rule with its one accepted legacy
|
||||
violation still on record in archunit_store/.
|
||||
|
||||
[INFO] Running com.ankurm.tutorials.junit.archunit.LayeredArchitectureTest
|
||||
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.323 s -- in com.ankurm.tutorials.junit.archunit.LayeredArchitectureTest
|
||||
[INFO] Running com.ankurm.tutorials.junit.archunit.FreezingArchRuleTest
|
||||
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 s -- in com.ankurm.tutorials.junit.archunit.FreezingArchRuleTest
|
||||
[INFO] Results:
|
||||
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
|
||||
[INFO] BUILD SUCCESS
|
||||
[INFO] Total time: 3.847 s
|
||||
|
||||
Four rules, four green results, under four seconds total, with zero application
|
||||
classes started. This is the number to compare against docs/output/01- and
|
||||
docs/output/03- -- both of those are the same suite with one extra class added on
|
||||
purpose, each producing exactly one new failure and nothing else.
|
||||
Reference in New Issue
Block a user