You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @odrotbohm,
Just run (manually, with IntelliJ for example) the tests in jmolecules-archunit/src/test/java/org/jmolecules/archunit/JMoleculesHexagonalRulesTest.java from master or any tag after 0.21.0 and you will see it failing.
If I do a mvn clean install I see that these tests are not executed.
The introduction of the StereotypeLookup broke the verifications for Hexagonal Architecture. We properly setup the annotation lookups and rely on the meta-annotations (@PORT, @adapter) being present at runtime. We still have to investigate why the integration tests do not get executed during a Maven build.
I'm still investigating why the nested test classes don't get executed during a build. That said, I've pushed a fix for the actual verification. Note that full detection of meta-annotations (@Port, @Adapter) will require an upgrade to jMolecules 1.10 (currently only available in snapshots). If you stick to the concrete ones, you should be good on the currently compiled against 1.8.
On version 0.21.0 all tests in JMoleculesHexagonalRulesTest.java pass, however if you upgrade to any of the newer versions they fail.
The text was updated successfully, but these errors were encountered: