...
- make sure that you have run
ant model-jar
in hive/metastore andant gen-test
in hive /ql since the last time you ranant clean
- To run all of the unit tests for the Cli, open up TestCliDriver.java
- click Run->Debug Configurations , select TestCliDriver, and click Debug
- To run a single test within TestCliDriver.java
- Begin running the whole TestCli suite as before
- Once it finishes the setup and starts executing the JUnit tests, stop the test execution
- Find the desired test in the JUnit pane
- Right click on that test and select Debug
...