Hi, org.apache.hadoop.hive.cli.TestCliDriver this test class will generate at time of compile. For compiling we no need to any changes in build.xml's. What exception u r getting pls let me know. more details u can find in the same link this section "Add a Unit Test" https://cwiki.apache.org/confluence/display/Hive/HowToContribute _____ From: Fang Fang FF Chen [mailto:ffche...@cn.ibm.com] Sent: Tuesday, August 02, 2011 1:43 PM To: user@hive.apache.org; devara...@huawei.com Subject: RE: Is there a way to run a test about some class? Thank you, Devaraj K. I have another question: is there a way to run test without compile? It seems I should to modify build-commen.xml and build.xml files. Could you please tell me the details(i.e. how to modify build-commen.xml and build.xml files)? Thanks. Regards, FangFang CHEN / 陈芳芳 ---------------------------------- BigInsights Team, CDL Phone: 86-10-82453744 ---------------------------------- Inactive hide details for Devaraj K ---2011-08-02 13:27:21---You can run all the unit test with the command ant test, or you caDevaraj K ---2011-08-02 13:27:21---You can run all the unit test with the command ant test, or you can run a specific unit test with the command ant -Dtestcase=<c Devaraj K <devara...@huawei.com> 2011-08-02 13:24 Please respond to user@hive.apache.org To user@hive.apache.org cc Subject RE: Is there a way to run a test about some class? You can run all the unit test with the command ant test, or you can run a specific unit test with the command ant -Dtestcase=<class name without package prefix> test (for example ant -Dtestcase=TestFileSystem test). Refer : https://cwiki.apache.org/confluence/display/Hive/HowToContribute Devaraj K _____ From: Fang Fang FF Chen [mailto:ffche...@cn.ibm.com] Sent: Tuesday, August 02, 2011 10:43 AM To: user@hive.apache.org Subject: Is there a way to run a test about some class? Every time I run tests with "ant tests", it will lasted for a long time. Now I just want to run some test(i.e Test org.apache.hadoop.hive.cli.TestCliDriver). Is there a command or a way which is available for my idea? Thank you. Thanks. Regards, FangFang CHEN / 陈芳芳 ---------------------------------- BigInsights Team, CDL Phone: 86-10-82453744 ----------------------------------
<<attachment: image001.gif>>
<<attachment: image004.gif>>
<<attachment: image005.gif>>