Collection of useful Hamcrest's matchers for everyday testers life.
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
webdriver-matchers
- Matchers library to work with WebDriver WebElement interface. -
Collections Matchers
collection-matchers
- Matchers library to work with collections. -
Common Matchers
common-matchers
- Matchers library with matchers for common use cases. -
Java NIO Matchers
nio-matchers
- Matchers library with matchers for Java NIO. -
Matcher Decorators
matcher-decorators
- Decorators which allows handle additional condition issues (e.g. timeouts) directly in the assertion statements.
You can find more useful libs and examples on wiki