Re: would like to contribute
Noel Yap <[email protected]>
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <CALa_nQng5xEcuj=KRXJTaP5epFAvZ3nrynisWLjXFRnt5Z903Q@mail.gmail.com> |
Can you point me to specific examples of both styles? When you say 'constructing test classes', do you mean there's something like a testdata directory with such classes? Or are they created some other way? Thanks, Noel On Tue, Feb 12, 2013 at 1:25 PM, David Saff <[email protected]> wrote: > 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 > > > ------------------------------------ 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/