Posted by Alexandre Martins on February 19, 2009
It’s been a while since I read some interesting posts showing creative uses of Hamcrest library out of test code. Since then I’ve been proscrastinating to implement my own version, trying strongly typed java delegates. Thankfully this week I came across a nice API called hamcrest-collections. It uses Hamcrest to implement features such as select, [...]
Posted by Alexandre Martins on November 14, 2008
Since JBehave 2.0 was released in September, I’ve been using it on my current project to verify the acceptance criteria for the features we are implementing, ensuring that the web interface is following the right workflow, and is displaying the data as expected, as well as some other important elements. What is JBehave? JBehave is [...]
Posted by Alexandre Martins on November 6, 2008
Last Wednesday, 5th of November, we run our first Coding Dojo session at Sydney office. We had a reasonable number of attendants, and the experience was fantastic, although we still have some points to improve. The Initiative The idea was originally from my friend and flat-mate Mark Needham. Since we moved in to our new [...]
Posted by Alexandre Martins on July 4, 2007
JBehave and JMock2 are tools I’ve been using on my latest projects to define the behaviours of my objects. Both, when used together supplies pretty much all the resources needed to write effective behaviour verification. But in this topic I’m going to talk about JBehave Matchers. Matchers are handy objects, inspired by JUnit Assert class, [...]