ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noel Yap <>
Subject Re: want to extend JUnitTestRunner to allow specification of JUnit Filters
Date Thu, 05 Jan 2012 01:48:04 GMT
Hmm, it occurred to me that, while what I described might work for methods
specified on the command line, IIUC, it won't work for methods not
specified on the command line.  It seems the best way to do what I want is
to create a Suite, call setFilter with the user-speficied Filters, create a
Request, then call on the Request.  Does this sound right?


On Wed, Jan 4, 2012 at 17:29, Noel Yap <> wrote:

> I'd like to extend JUnitTestRunner to allow specification of JUnit
> Filters.  This would allow, for example, tests to be filtered by Category.
> It looks like all I would need to do is to create a Description from the
> test class (or test class and method name) and annotations then pass it
> through a series of user-specified Filters.  What objections might there be
> by adding such a feature?  Are there any gotchas with the approach I
> described?
> Thanks,
> Noel

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message