0.1 #131
astubbs
announced in
Announcements
0.1
#131
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Initial release
Features
Primary
assertThat(person).hasAddress().hasStreet().ignoringCase().endsWith('Rd')Subjects so you don’t have to register them yourself - including going into external and/or restricted modules (i.e. java'sUUID,ZonedDateTimeetc)-- For example, you register only a single class with the plugin, and it will generate Subject's for every single referenced class in the tree.
SubjectsTruthlibrary injected into generated code, e.g.:--
MyStringSubject: Equality check ignoring white space and line endings, file content equality--
MyMapSubject: key content check and othersjava.*classes -UUIDetc) Tree depth limits can potentially be added to limit the quantity of generated code.Secondary
Subjects under version control - won't regenerate, and will be injected into the generated structuregenerictypes are read and used in generated assertions-- i.e.
assertThat(Map<MyKey, ?> map)#containsKey(MyKey key)This discussion was created from the release 0.1.
Beta Was this translation helpful? Give feedback.
All reactions