Hi Dawid,

On 4/2/2012 at 4:25 PM, Dawid Weiss wrote:
> These are nested tests that test the tests... Hope you like the tongue
> twister ;)

I figured it was something like that.

> Anyway, these test suites shouldn't be executed as stand-alone classes
> because they are "intentional failures" that are asserted someplace
> else (in the outer class typically).

> Is there a way to tell Idea to just run *Test and Test* classes?

AFAICT, it's possible to either:

  a) run all tests in a module (it's set up to do this now); or 
  b) run tests whose names match pattern(s).  (AFAICT this one is a brand new 
feature in IntelliJ v11.1: <http://youtrack.jetbrains.com/issue/IDEA-78962>)

But not both at once.  So I'm not sure how to run Test*;*Test under the 
IntelliJ lucene module, which includes test source roots lucene/core/src/test/ 
and lucene/test-framework/src/java/.

> I can work around some of these using assumptions but not right now
> (I don't even have IntelliJ Idea) -- file an issue if there's no
> other way and I'll see what I can do.

No rush.  I'll make an issue in a day or two if nobody else knows of a 
configuration fix.

Thanks,
Steve

Reply via email to