I’m happy to present you a new release of assertj-vavr. This version, i.e., v0.1.0, uses Vavr v0.10.0 and adds support of more types from this library.
Below you can find the information about what’s new.
One of the missing parts was a possibility to make assertions on instances of
io.vavr.colleciton.Map. The new version provides basic checks.
Among checks of its emptiness, equality, and size, you can run checks for contained entries, keys, and values. Here’s a sample:
Another missing part in the library was assertions for
io.vavr.control.Validation. Now, you can check the following:
Another nice-to-have thing is assertions for lazily evaluated values. With the new release, we can check whether a given computation is evaluated or not.
The recent version of the library fixes a bug of asserting whether value contained by
null. While you can use such value in those types, assertj-vavr provided no support for checking this. Now, we have fixed it.
If you have any ideas about what we should add in future releases of the library, let us know (comment below, contact me, create a new issue or catch me on JVM Poland Slack). And, of course, your contribution to the project is more than welcome!