[
https://issues.apache.org/jira/browse/NETBEANS-2243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bailey Campbell updated NETBEANS-2243:
--------------------------------------
Description:
h3. Steps
# For the *JUnitSampleProjectMaven* project:
** In the *Test Results* window select the node for the *testDivide* test,
right-click and select *Run Again* from popup menu.
h3. Expected result:
* Only the *testDivide()* method test is run.
* The *Test Results* window contains only the result of that failed test.
Actual result:
* No tests executed.
*NOTE:*
*If the option Test FIle is selected, ie only the Calculator.java file is test,
the Run Again works.*
was:
h3. Steps
# For the *JUnitSampleProjectMaven* project:
** In the *Test Results* window select the node for the *testDivide* test,
right-click and select *Run Again* from popup menu.
h3. Expected result:
* Only the *testDivide()* method test is run.
* The *Test Results* window contains only the result of that failed test.
Actual result:
* No tests executed.
Build output:
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 3.333 s
Finished at: 2019-03-11T21:17:06-03:00
Final Memory: 7M/34M
------------------------------------------------------------------------
Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-cli) on
project JUnitSampleProjectMaven: No tests were executed! (Set
-DfailIfNoTests=false to ignore this error.) -> [Help 1]
> JUnit Test Spec - Run Again fails
> ---------------------------------
>
> Key: NETBEANS-2243
> URL: https://issues.apache.org/jira/browse/NETBEANS-2243
> Project: NetBeans
> Issue Type: Bug
> Components: java - JUnit
> Affects Versions: 11.0
> Reporter: Bailey Campbell
> Priority: Major
>
> h3. Steps
> # For the *JUnitSampleProjectMaven* project:
> ** In the *Test Results* window select the node for the *testDivide* test,
> right-click and select *Run Again* from popup menu.
> h3. Expected result:
> * Only the *testDivide()* method test is run.
> * The *Test Results* window contains only the result of that failed test.
> Actual result:
> * No tests executed.
> *NOTE:*
> *If the option Test FIle is selected, ie only the Calculator.java file is
> test, the Run Again works.*
>
--
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