Hive Developer FAQ
Testing
How do update the output of a CliDriver testcase?
% ant test -Dtestcase=TestCliDriver -Dqfile=alter1.q -Doverwrite=true
How do I run the clientpositive/clientnegative unit tests?
To run clientpositive tests
ant -Dtestcase=TestCliDriver test
To run a single clientnegative test alter1.q
ant -Dtestcase=TestNegativeCliDriver -Dqfile=alter1.q test
To run a single contrib test alter1.q and overwrite the result file
ant -Dtestcase=TestContribCliDriver -Dqfile=alter1.q -Doverwrite=true test
To run a single test groupby1.q and output detailed information during execution
ant -Dtestcase=TestCliDriver -Dqfile=groupby1.q -Dtest.silent=false test