[
https://issues.apache.org/jira/browse/ZOOKEEPER-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward Ribeiro resolved ZOOKEEPER-2676.
---------------------------------------
Resolution: Won't Fix
> Enable remote debugging unit tests on CLI
> -----------------------------------------
>
> Key: ZOOKEEPER-2676
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2676
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Edward Ribeiro
> Priority: Minor
>
> Sometimes it's useful to be able to run a unit test from the CLI and then
> attach an IDE to enable debugging as below:
> {code}
> $ ant -Dtestcase=FourLetterWordsTest -DremoteDebug=true test-core-java
> {code}
> The unit test will stop as below:
> {code}
> (...)
> junit.run-concurrent:
> [echo] Running 1 concurrent JUnit processes.
> [junit] Listening for transport dt_socket at address: 5005
> {code}
> And we will be able to put breakpoints on the target class and bind the IDE
> to it's process to step through the test.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)