Re: would like to contribute
David Saff <[email protected]>
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <CALrw-Pyp9=3_vg=Fybq0sMo4mqjESF+gq=u2RFT5FV2P43rqWw@mail.gmail.com> |
Indeed, we do not use automatic mocking frameworks for JUnit's self-tests. In many places, we test features by what you might consider integration-style, constructing test classes that use the feature, and asserting the desired outcomes. In some others, we use hand-rolled mocks. Let me know if you have any questions about translating particular idioms. David Saff On Tue, Feb 12, 2013 at 2:46 PM, Noel Yap <[email protected]> wrote: > ** > > > I have created better support for filters (primarily > CategoriesIncludeFilter and CategoriesExcludeFilter but any Filter can > be plugged in, including an IgnoreFilter that uses the filter > mechanism to support @Ignore). I would like to contribute this code to > the JUnit project but it uses mocks for some of the testing. What > mocking framework does the JUnit project use in its testing? If it > currently doesn't use a mocking framework, should I rewrite the tests > to be more end-to-end? > > Thanks, > Noel > > [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/junit/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/junit/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/