↧
Groovy MetaClass Magic in Unit Tests
As you may or may not know, Groovy has the concept of MetaClasses. MetaClasses enable you to add or change methods at runtime. This is especially handy when doing some mocking during a unit test (or,...
View ArticleIntroduction to Hamcrest Core Matchers
In our previous post, we got a small introduction into Hamcrest, a framework for writing test matcher objects, and why you should use them. This post will dive deeper into Hamcrest Matchers. A Matcher...
View ArticleIntroduction to Hamcrest String Matchers
Another week, another blogpost. For those catching on just now, or finding this post using a search engine; I’m writing a series of posts about Hamcrest, a framework for writing test matcher objects,...
View Article