This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 211246 - TestNG doesn't run, but JUnit
Summary: TestNG doesn't run, but JUnit
Status: RESOLVED DUPLICATE of bug 210293
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks: 211252
  Show dependency tree
 
Reported: 2012-04-16 11:37 UTC by ulfzibis
Modified: 2012-04-16 13:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project (26.10 KB, application/x-zip-compressed)
2012-04-16 11:38 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2012-04-16 11:37:30 UTC
[ BUILD # : 201204100400 ]
[ JDK VERSION : 1.7 ]

Try attached project.

Output:
Testsuite: testng.java.util.AbstractCollectionTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0,39 sec

Testcase: initializationError(testng.java.util.AbstractCollectionTest):	Caused
an ERROR
No runnable methods
java.lang.Exception: No runnable methods
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)


Test testng.java.util.AbstractCollectionTest FAILED
test:
Deleting:
C:\DOKUME~1\ich\LOKALE~1\Temp\TEST-testng.java.util.AbstractCollectionTest.xml
BUILD SUCCESSFUL (total time: 2 seconds)
Comment 1 ulfzibis 2012-04-16 11:38:38 UTC
Created attachment 118324 [details]
Project
Comment 2 Lukas Jungmann 2012-04-16 12:35:00 UTC
compile on save related, workaround is to turn CoS off in project properties

*** This bug has been marked as a duplicate of bug 210293 ***