github TNG/ArchUnit v0.10.2
ArchUnit 0.10.2

latest releases: v1.1.1, v1.2.2, v1.3.0...
5 years ago

Bug Fixes

  • Fixed JavaPackage.getPackageDependenciesFromSelf() containing the package itself if there was a dependency in the same package but not directly imported (e.g. importer.importClasses(Foo.class) where some.pkg.Foo would depend on some.pkg.Bar, which was not imported)

Enhancements

Core

  • Some methods now return Collection types instead of Iterable to integrate nicer with streams

Lang

  • FieldsShould now contains the negation notHaveRawTypes (see #162; thanks a lot to @asbachb)
  • CodeUnitsShould now contains the negations notHaveRawParameterTypes, notHaveRawReturnType and notDeclareThrowableOfType
  • The syntax now contains {methods,fields}().should().{be,notBe}{Static,Final} (see #164; thanks a lot to @hankem)

Library

  • Slice now also offers dependenciesToSelf additionally to dependenciesFromSelf

Further Acknowledgement

  • Thanks a lot to @hankem for reviewing and improving the user guide

Don't miss a new ArchUnit release

NewReleases is sending notifications on new releases.