You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Thai Thien (JIRA)" <ji...@apache.org> on 2019/04/22 03:16:00 UTC

[jira] [Commented] (NETBEANS-591) Cannot debug failed test method from Test results window

    [ https://issues.apache.org/jira/browse/NETBEANS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822846#comment-16822846 ] 

Thai Thien commented on NETBEANS-591:
-------------------------------------

it is seem that the problem happen when you are open Netbean 8.2 project with Netbean 11

Also, when you are trying to debug a specific test function (right click -> Debug focused test method), it also said 

 

Target "debug-single-method" does not exist in the project "your-project-name". 

> Cannot debug failed test method from Test results window
> --------------------------------------------------------
>
>                 Key: NETBEANS-591
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-591
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - JUnit
>            Reporter: Manikantan Narender Nath
>            Priority: Major
>
> Steps to reproduce
> Run a junit test case which fails
> In the test results window select the test method that failed
> Right click and choose debug from the context menu
> Expected result:
> The test method is run
> Actual result : Cannot run the test method
> {code:java}
> ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt -Dnb.internal.action.name=debug.single.method -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide -Dtest.class=teststorun.CalculatorTest debug-single-method
> Target "debug-single-method" does not exist in the project "JUnitSampleProjectAnt".
> BUILD FAILED (total time: 0 seconds)
> {code}
> Test specification : Junit Test specification ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2)]
>  
> Test Suite: Result window actions ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2235)]
> Test case: Debug ( [http://netbeans-vm.apache.org/synergy/client/app/#/case/5996/suite/2235/v/1] )
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists