Bailey Campbell created NETBEANS-2248:
-----------------------------------------
Summary: JUnit Test - NB Module , create Tests fails
Key: NETBEANS-2248
URL: https://issues.apache.org/jira/browse/NETBEANS-2248
Project: NetBeans
Issue Type: Bug
Components: java - JUnit
Affects Versions: 11.0
Reporter: Bailey Campbell
# Create new NetBeans module project: *File > New Project > NetBeans Module >
Module*.
# Leave all settings to their default values on the first screen and click
*Next*. In the *Code Name Base* field enter *org.myorg.mymodule* and click
*Finish*.
# Copy the whole package *teststorun* (from *Source Packages*) and its content
from the sample project used in previous steps to *Source Packages* of this new
NetBeans module project.
# Under the *Source Packages* node select the *teststorun* package, and then
right click and select *Tools* > *Create/Update Tests* from the popup menu.
# In the *Create/Update Tests* dialog:
** Select *Test Packages* from the *Location* droplist.
** Uncheck the *Integration tests* and *Generate Test Suites* options, but
ensure that all other checkboxes are checked.
** Click *OK* to close the *Create/Update Tests* dialog.
After doing this only the setup and teardown methods are created in the test
file, no other method tests are created.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists