History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-24002
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Anna Kozlova
Reporter: Serge Baranov
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

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

Created: 17 Dec 07 14:46   Updated: 20 Dec 07 12:20
Component/s: Unit Testing. TestNG
Fix Version/s: Selena 7.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,590
Fixed in build: 8,061
Severity: Extreme


 Description  « Hide
> 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.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.