From: Tom M. <ts....@gm...> - 2007-05-27 19:54:38
|
Hi! I recently had the pleasure of migrating a lot of the unit tests at work from JMock 1.x to EasyMock 2.x. The only glitch we had was the loss of assertThat, which is beloved by our Tech Leads and architects alike, predominantly because of its excellent error reporting. We initially created a wrapper for JMock's MockSupport classes but thats just ugly, so I patched JUnit 4.4 to include an AssertThat class to complement Assert. It is essentially a comprehensive wrapper of Google's Hamcrest library that allows sensible assertions on collections. We kinda like it and would like to offer it back to the community. Is it something that you like to consider integrating with JUnit? If so how can I submit? Many Thanks Tom |