May 12 2006
Tom White’s Blog: Literate Programming with jMock
Tom White’s Blog: Literate Programming with jMock:
Posted by tomwhite on May 11, 2006 at 11:10 AM
“We’ve been using jMock at our company for some time now. We’ve found it great for test driven development and isolating our unit tests from the rest of the system more effectively. One aspect of jMock that stands out for me is its idea of constraints. In fact, we’ve found this idea so useful that we always use the org.jmock.MockObjectTestCase base class rather than
junit.framework.TestCase, even when we aren’t mocking anything out. This seems to have registered with the jMock development team, as they are planning to extract the constraints into a separate project, codenamed Hamcrest (it’s an anagram of “matchers”).”
(Via Steve Freeman.)
Tags: bdd mocks tdd