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.
|Summary:||The Create Tests dialogue should not give a warning if the test ends with just "Test"|
|Component:||TestNG||Assignee:||Theofanis Oikonomou <theofanis>|
|Issue Type:||DEFECT||Exception Reporter:|
Description stachenov 2016-07-07 08:26:32 UTC
How to reproduce: - Create a class with some name, say, MyClass. - Press Ctrl+Alt+T to create a test class. - Choose TestNG. - Change the test class name from MyClassNGTest to MyClassTest. The dialogue gives a warning: You will not be able to navigate between the test class and the tested class if a non-default name is used. In fact, navigation works just fine, and adding NG feels like exposing implementation details. IMO the warning should be displayed only if the suffix is neither NGTest nor Test, irregardless of which testing framework is selected.