Enable JMunit
Enabling means shipping all
test cases and test suites
and the
JMUnit framework classes
into the application package. To enable JMUnit right click the Project folder
and select the
Mobile tools for java > Enable JMunit
option.
Disable JMunit
Disable means
NOT
shipping all
test cases and test suites
and the
JMUnit framework classes
into the application package. To disable JMUnit right click the Project folder
and select the
Mobile tools for java > Disable JMunit
option.
Note
For the correct exclusion of test cases and test suites from the application
package when JMUnit is disabled the following naming rules must be followed:
-
Test Cases must be named as *Test.java
-
Test Suites must be named as *TestSuite.java
Below the exclusion patterns added to the project when disabled:
In case all naming rules are correct, all test cases and suites will
be displayed in the package explorer as resources.