Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Anna Kozlova 
Subsystem
Unit Testing. TestNG 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7590
Fixed in build
8061
Severity
0
  • Submitted by   Serge Baranov
    2 years ago (17 Dec 2007 14:46)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:56)
  • Jira: IDEA-42289
    (history, comments)

IDEA-42289

TestNG tests declared in superclass not detected (regression in 7.0.2, works in 7.0.1)

1
Create a TestNG test. Then subclass it and add more tests in the
subclass. Run the subclass test, and test methods declared in the
superclass are not detected/run.

Worked fine with IDEA 7.0.1, but breaks on 7.0.2. I'm reverting to
7.0.1 for now.



1) Download and install Maven2 >= 2.0.6

2) Check out JBoss Cache 2.1.0.CR2 from SVN:

$ svn co http://anonsvn.jboss.org/repos/jbosscache/core/tags/2.1.0.CR2/

3) Generate IDEA project files by running the Maven IDEA plugin

$ cd 2.1.0.CR2
$ mvn idea:idea
(or import maven project in IDEA)

4) Open the project in IDEA 7.0.2

5) Try and run the DummyInMemoryCacheLoaderTest using the TestNG plugin

BOOM! 0 tests run. But DummyInMemoryCacheLoaderTest extends CacheLoaderTestsBase which has 40+ tests.


Issue was resolved
Comments (0)
 
History (1)
 
Links
 
Issue has no comments