Le 03/05/2011 08:52, Sascha Rodekamp a écrit :
Hi Erwan, i really like the idea of separating tests and code. What do you think of introducing a mocking framework (i.e. Powermock) to improve the jUnit Tests and their usability? I could provide some code for that.
Hi Sascha,Yes, that's a very good idea. And I found the perfect place for it: we could mock the date / time, so promo could be tested, eg when there are happy hours, or so !
Cheers, -- Erwan de FERRIERES www.nereide.biz