Re: filtering tests via annotations

Kevin Cooney <[email protected]> Fri, 22 Mar 2013 11:44:44 -0700
Newsgroups gmane.comp.java.junit.devel
Message-ID <CAA3E+eXA8mCSSc3XzhUoaV1gRRjMdyTJh35-Gkm5UzPmbYMbPg@mail.gmail.com>
--===============1894459122816777229==
Content-Type: multipart/alternative; boundary=14dae9340a391627a104d887dbb9

--14dae9340a391627a104d887dbb9
Content-Type: text/plain; charset=ISO-8859-1

I'm not in a place to make a decision either way, but it seems strange to
me to have a way to use annotations to specify categories that will work
with the Maven Surefire plugin but not in IDEs.

-- Kevin

On Fri, Mar 22, 2013 at 11:31 AM, 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
>
>

--14dae9340a391627a104d887dbb9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m not in a place to make a=A0decision either way,=A0=
but it seems strange to me to have a way to use annotations to specify cate=
gories that will work with the Maven Surefire plugin but not in IDEs.<div c=
lass=3D"gmail_extra">

<br clear=3D"all"><div>-- Kevin</div><br><div class=3D"gmail_quote">On Fri,=
 Mar 22, 2013 at 11:31 AM, Paul Sprague <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:[email protected]" target=3D"_blank">[email protected]</a>&gt;</span=
> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">I&#39;ve coded a patch to the maven surefire=
 plugin which allows for filtering tests classes based on arbitrary class l=
evel annotations when using junit.<br>

<br>The patch is attached to the jira here: <a href=3D"https://jira.codehau=
s.org/browse/SUREFIRE-833#comment-322466" target=3D"_blank">https://jira.co=
dehaus.org/browse/SUREFIRE-833#comment-322466</a><br>
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">http://p.s=
f.net/sfu/appdyn_d2d_mar</a><br>___________________________________________=
____<br>
Junit-devel mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
ceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/junit-devel" target=
=3D"_blank">https://lists.sourceforge.net/lists/listinfo/junit-devel</a><br=
>
<br></blockquote></div><br></div></div>

--14dae9340a391627a104d887dbb9--


--===============1894459122816777229==
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
--===============1894459122816777229==
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

--===============1894459122816777229==--