Releases: jparams/to-string-verifier
Version 1.4.8
Version 1.4.7
Fix for bug #24
Version 1.4.6
Version 1.4.5
Fix for bug #18
Version 1.4.4
I have updated the version of the Object Builder library, which has a huge improvement on how generics are handled. This is an important change as the Object Builder library plays key role in how the test subject is generated.
Version 1.4.3
- Update to latest version object-builder. This includes many improvements and stability in the way test objects are generated.
Version 1.4.2
- Update to readme
- Fix javadoc comments
Version 1.4.1
Added ToStringVerifier.withFailOnExcludedFields(boolean)
This allows the user to define how the verifier should behave if the Object.toString()
output contains a field that has been explicitly excluded by calling withIgnoredFields(String…)
or implicitly excluded by calling withOnlyTheseFields(String…)
or withMatchingFields(String)
. By default, the verifier will not test for the presence of the excluded fields and will not fail if they exist in the Object.toString()
output when they should not. You can change this behaviour by setting failOnExcludedFields
to true.
Version 1.3.1
- Added some popular vendor presets, see
com.jparams.verifier.tostring.preset.Presets
. - Added ability to specify presets:
ToStringVerifier.forClass(MyClass.class).withPreset(Presets.INTELLI_J).verify()
Version 1.2.3
Update to latest version of object-builder for better error handling