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 211252 - Single tests run, but project test fails
Summary: Single tests run, but project test fails
Status: RESOLVED WONTFIX
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: https://github.com/cbeust/testng/issu...
Keywords:
Depends on: 211246
Blocks:
  Show dependency tree
 
Reported: 2012-04-16 13:16 UTC by ulfzibis
Modified: 2012-04-19 21:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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

Testing workaround from bug 211246:

- Test File java.util.AbstractCollectionTest
--> 16 tests passed (there are only 3)
- Test File testng.java.util.AbstractCollectionTest
--> 16 tests passed
- Test Project
--> 16 tests passed, 14 tests failed
Comment 1 Lukas Jungmann 2012-04-17 21:17:35 UTC
problem with 'java/util/AbstractCollectionTest' vs 'testng/java/util/AbstractCollectionTest'

workaround is to not differentiate classes only by prefix, such as 'testng' in this case - ie rename one of the files to 'AbstractCollection2Test'

fix is to be done in build-impl.xsl - check how 'union' of filesets is constructed
Comment 2 Lukas Jungmann 2012-04-19 21:32:02 UTC
actually this is a bug directly in testng, can not do much with it on the NB side (the price for the fix on NB side would be really high)