matchers-java
matchers-java copied to clipboard
Java library which implements hamcrest matchers for collections and webdriver webelements. Includes a few matcher decorators to handle timeout issues.
Matchers Java
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
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.
Also:
You can find more useful libs and examples on wiki