Fully managed cloud. 30-day FREE full featured trial. Start Now
Showing results for 
Search instead for 
Did you mean: 
Team Exasol
Team Exasol

The challenge

Often integration tests result sets contain changing or even non-predictable content. In those cases you need more relaxed result matching than simply comparing against a constant value:

  1. Structural checks
  2. Syntactical checks (e.g. for a timestamp column)
  3. Range checks
  4. Data type checks
  5. Any value

The solution

Hamcrest builds on the idea of nested matchers for exactly this particular purpose, so we extended the hamcrest-resultset-matcher in version 1.2.0 to support that neat trick! This latest release allows nesting other Hamcrest matchers for improved integration testing of Java result sets.