From: <Tho...@t-...> - 2009-01-15 13:19:18
|
Hi Daniel, thanks for your answer. Yes, I can execute JUnit3 test cases in JUnit4. But what I want to do the following: @Test public void myTest() { // create mocks // set up expectations // start verification // call the code under test // verify expectations } Regards, Thomas -----Ursprüngliche Nachricht----- Von: Daniel Brolund [mailto:dan...@gm...] Gesendet: Donnerstag, 15. Januar 2009 11:23 An: rmo...@li... Betreff: Re: [Rmock-users] RMock and JUnit4 Hi Thomas, You can execute RMockTestCase:es in JUnit4 thanks to JUnit4's backwards compatibility, but we have not tested it extensively so there may be caveats. It is however likely that Java5 stuff in your code, such as generics, will break RMock in one way or the other. Cheers Daniel On Thu, Jan 15, 2009 at 8:54 AM, <Tho...@t-...> wrote: > Hi all, > > is there a way to use RMock together with JUnit4? > > Thanks, > Thomas > > ---------------------------------------------------------------------- > -------- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Rmock-users mailing list > Rmo...@li... > https://lists.sourceforge.net/lists/listinfo/rmock-users > -- --------------------------------------------------------- Daniel Brolund email: dan...@gm... mobile: +46708754002 blog: http://danielbrolund.wordpress.com work: dan...@ag... ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Rmock-users mailing list Rmo...@li... https://lists.sourceforge.net/lists/listinfo/rmock-users |