Team Exasol
Team Exasol

What is the hamcrest-resultset-matcher for?

In general, it's a tool for writing readable tests for database results. More specifically, the project provides a Hamcrest matcher that compares JDBC result sets (java.sql.ResultSet) against each other or against Java structures.

What's new?

In some situations, you only need to compare the values, not the datatypes. In such situations, you can use fuzzy matching (approximate matching). In the fuzzy mode, the result set matcher only compares the values. In this release, we've added support for fuzzy matching of dates and timestamps. So now, in the fuzzy matching mode, this matcher considers timestamps and dates as equal if they have the same value.

Where can you find it?

You can find the new release on GitHub.