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 154255

Summary: Both of test methods with another paratameters run by re-running failed tests
Product: java Reporter: Martin Fousek <marfous>
Component: TestNGAssignee: Lukas Jungmann <jungi>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Martin Fousek 2008-12-01 10:58:26 UTC
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Linux version 2.6.24-21-generic running on i386; UTF-8; en_US (nb)

Observed:
Have two test methods with the same name and various parameters, when you invoke run test class and one of them passed
and the second failed, try to re-run failed tests --> both of them will run

Better solution would be run only the one failed test.