-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rule is not breaking the test if class is accessed by another package #168
Comments
I need some more information how you "use" |
hi @codecholeric, that's exactly my case this |
This is unfortunately a known limitation. ArchUnit analyzes bytecode, so what's missing from the bytecode can't be asserted. If you look at the compiled classes, each of those classes has their own inlined string value and the reference of |
Going to close this, because there is nothing ArchUnit can do, if the information is missing from the bytecode. |
Currently, I have the following structure
and the rule I am writing is:
when I change my code to make
MyClass2
useModuleUtils1
, the test is still green.The text was updated successfully, but these errors were encountered: