-
Currently I want to accomplish something like this:
```
fields().that().areDeclaredInClassesThat().resideInAPackage("..package..")
.should().notHaveRawType(Float.class);
```
Which seems to be imp…
-
In our project we test EJB instances via TestNG and OpenEJB. Once I introduce the core ArchUnit dependency in Version 0.9.3 as per below
```
com.tngtech.archunit
archunit
test
…
-
Consider the following minimal example (`archunit-junit4:0.10.0`):
```
package example.a
import example.b.B
class A {
fun bar(b: B): B =
b
}
```
```
package example.b
…
-
We should add to `ArchRuleDefinition` the factory methods
* `GivenFields fields()`
* `GivenMethods methods()`
* `GivenConstructors constructors()`
* `GivenCodeUnits codeUnits()`
* `GivenMembers…
-
### Use Case
I want to check that domain classes do not access other classes other than domain classes and classes of the Java- or Kotlin standard lib. I have Kotlin enums and Kotlin classes with d…
-
Need to do a small bit of rework as currently we have 2 violations
-
Perhaps a blog article....
-
When using ArchUnit with JUnit Platform 1.3.1 I get the following LOG:
```
WARNUNG: Third-party TestEngine implementations are forbidden to use the reserved 'junit-' prefix for their ID: 'junit-arch…
jlink updated
5 years ago
-
With f761154228c4c2c4b209134073c6a4019b306d67 JavaClass's method [getDirectDependenciesFromSelf()](https://github.com/TNG/ArchUnit/commit/f761154228c4c2c4b209134073c6a4019b306d67?diff=unified#diff-b5c…
-
When running ArchUnit 0.9.1 with Java 11, I get the following output:
```
...
INFO c.t.archunit.core.importer.JavaClassProcessor {} Analysing class 'Anonymized$1'
WARN c.t.archunit.core.imp…