Quantcast
Channel: Jworks » junit
Browsing latest articles
Browse All 2 View Live

Hamcrest Matchers in JUnit tests

With JUnit being the dominant Test framework, chances are high that during your career as a software engineer, you’ve encountered the JUnit framework in one or more projects. Therefor, code like this:...

View Article


Introduction to Hamcrest Collection Matchers

Another post in the series of Hamcrest Matchers, a framework for writing test matcher objects. This week we’ll dive into collections and iterables, and we’ll see how we can use Hamcrest for making...

View Article

Browsing latest articles
Browse All 2 View Live