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

Summary: TestNG doesn't run, but JUnit
Product: java Reporter: ulfzibis <ulfzibis>
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jungi
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 211252    
Attachments: Project

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 ***