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

2020-04-16 Thread Mathieu Cartoixa (Jira)


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

Mathieu Cartoixa commented on NETBEANS-591:
---

As a workaround I added this simple line to my {{build.xml}}:
{code:xml}

{code}

> 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
(v8.3.4#803005)

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

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



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

2019-04-21 Thread Thai Thien (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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