Re: filtering tests via annotations
David Saff <[email protected]> Mon, 25 Mar 2013 13:24:35 -0400
| Newsgroups | gmane.comp.java.junit.devel |
|---|---|
| Message-ID | <CACj8BuN74SGsTOKKLK3Lvj1-eFm+KWPQckbji5uT2XZ_cW+=RQ@mail.gmail.com> |
--===============7594091651768425001== Content-Type: multipart/alternative; boundary=20cf30050e222bca4c04d8c314ac --20cf30050e222bca4c04d8c314ac Content-Type: text/plain; charset=ISO-8859-1 Paul, One good thing would be for you to potentially weigh in on this proposed patch: https://github.com/junit-team/junit/pull/647 That's proposing a single string-based syntax for describing filters to be applied to a test request. Ideally, your proposal could adapt to this interface, and be released as a library that anyone could pick up and use regardless of whether they're running maven or Eclipse or whatever. Otherwise, I don't think this list any longer reaches most of the people involved in day-to-day development and maintenance, so you may want to try again on [email protected]. Thanks, David On Fri, Mar 22, 2013 at 2:31 PM, Paul Sprague <[email protected]> wrote: > I've coded a patch to the maven surefire plugin which allows for filtering > tests classes based on arbitrary class level annotations when using junit. > > The patch is attached to the jira here: > https://jira.codehaus.org/browse/SUREFIRE-833#comment-322466 > There is also an example of how it works in the comments section. > > I've been asked to reach out to this mailing list concerning this change. > I think at issue is the question of who is responsible for this type of > filtering; should this type of functionality be part of junit? > > Thanks, > Paul > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > Junit-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/junit-devel > > --20cf30050e222bca4c04d8c314ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Paul,<div><br></div><div style>One good thing would be for= you to potentially weigh in on this proposed patch:</div><div style><br></= div><div style><a href=3D"https://github.com/junit-team/junit/pull/647">htt= ps://github.com/junit-team/junit/pull/647</a><br> </div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra" style= >That's proposing a single string-based syntax for describing filters t= o be applied to a test request. =A0Ideally, your proposal could adapt to th= is interface, and be released as a library that anyone could pick up and us= e regardless of whether they're running maven or Eclipse or whatever.</= div> <div class=3D"gmail_extra" style><br></div><div class=3D"gmail_extra" style= >Otherwise, I don't think this list any longer reaches most of the peop= le involved in day-to-day development and maintenance, so you may want to t= ry again on <a href=3D"mailto:[email protected]">[email protected]<= /a>.</div> <div class=3D"gmail_extra" style><br></div><div class=3D"gmail_extra" style= >Thanks,</div><div class=3D"gmail_extra" style><br></div><div class=3D"gmai= l_extra" style>=A0 =A0David</div><div class=3D"gmail_extra"><br><div class= =3D"gmail_quote"> On Fri, Mar 22, 2013 at 2:31 PM, Paul Sprague <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]" target=3D"_blank" class=3D"cremed">spraguep@= gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(20= 4,204,204);border-left-style:solid;padding-left:1ex"> I've coded a patch to the maven surefire plugin which allows for filter= ing tests classes based on arbitrary class level annotations when using jun= it.<br><br>The patch is attached to the jira here: <a href=3D"https://jira.= codehaus.org/browse/SUREFIRE-833#comment-322466" target=3D"_blank" class=3D= "cremed">https://jira.codehaus.org/browse/SUREFIRE-833#comment-322466</a><b= r> There is also an example of how it works in the comments section.<br><br>I&= #39;ve been asked to reach out to this mailing list concerning this change.= I think at issue is the question of who is responsible for this type of fi= ltering; should this type of functionality be part of junit?<br> <br>Thanks,<br>Paul<br> <br>-----------------------------------------------------------------------= -------<br> Everyone hates slow websites. So do we.<br> Make your web apps faster with AppDynamics<br> Download AppDynamics Lite for free today:<br> <a href=3D"http://p.sf.net/sfu/appdyn_d2d_mar" target=3D"_blank" class=3D"c= remed">http://p.sf.net/sfu/appdyn_d2d_mar</a><br>__________________________= _____________________<br> Junit-devel mailing list<br> <a href=3D"mailto:[email protected]" class=3D"cremed">Junit= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/junit-devel" target= =3D"_blank" class=3D"cremed">https://lists.sourceforge.net/lists/listinfo/j= unit-devel</a><br> <br></blockquote></div><br></div></div> --20cf30050e222bca4c04d8c314ac-- --===============7594091651768425001== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar --===============7594091651768425001== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Junit-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/junit-devel --===============7594091651768425001==--