Expanders Assert 1.0.0
· 3 min read
info
Expanders-assert is a library for writing tests in expansion-resource projects.
It has several improvements over the classic expanders-test-utils
library and uses more modern libraries like JUnit 5 and AssertJ.
Expanders-assert now has its first major release. We were happy with the current API and are ready to mark it as stable. This means that subsequent changes will be kept backwards compatible.
Important Changes since 0.9.1
Since the 0.9.1 there have been a few changes that you can encounter when upgrading to 1.0.0.
- Transitive dependencies, like AssertJ, JUnit 5 and expanders-core have been set to
provided
. They will need to be added explicitly where needed. doesNotHaveTag()
can now fail if the tag is not present on the Expander or Feature. This is to prevent false positives due to typo's.- Test setup now fails if the TestExpansion parameter is typed incorrectly. This helps with prevent copy-paste errors.
- The class signature of the ValidationAssert class (returned by
assertThatValidationRule()
) has changed. This used to have a generic type related to the Composite type, but has been changed since it was not relevant.
New features
The latest changes focus on supporting missing support for transmuters.