Java library which implements hamcrest matchers for collections and webdriver webelements. Includes a few matcher decorators to handle timeout issues.
Java

README.md

Matchers Java

release Coverage Status

Collection of useful Hamcrest's matchers for everyday testers life.

Usage:

Choose one of the modules and add to your pom.xml

<dependency>
    <groupId>ru.yandex.qatools.matchers</groupId>
    <artifactId>{module.artifactId}</artifactId>
    <version>{lib.release.version}</version>
</dependency>
  • WebDriver Matchers
    Maven Central
    webdriver-matchers - Matchers library to work with WebDriver WebElement interface.

  • Collections Matchers
    Maven Central
    collection-matchers - Matchers library to work with collections.

  • Common Matchers
    Maven Central
    common-matchers - Matchers library with matchers for common use cases.

  • Java NIO Matchers
    Maven Central
    nio-matchers - Matchers library with matchers for Java NIO.

  • Matcher Decorators
    Maven Central
    matcher-decorators - Decorators which allows handle additional condition issues (e.g. timeouts) directly in the assertion statements.

Also:

You can find more useful libs and examples on wiki