okumin commented on code in PR #45: URL: https://github.com/apache/hive-site/pull/45#discussion_r2017959507
########## content/docs/latest/developerguide_27362074.md: ########## @@ -288,95 +251,6 @@ Then you can run '`build/dist/bin/hive`' and it will work against your local fil Hive uses [JUnit](http://junit.org/) for unit tests. Each of the 3 main components of Hive have their unit test implementations in the corresponding src/test directory e.g. trunk/metastore/src/test has all the unit tests for metastore, trunk/serde/src/test has all the unit tests for serde and trunk/ql/src/test has all the unit tests for the query processor. The metastore and serde unit tests provide the TestCase implementations for JUnit. The query processor tests on the other hand are generated using Velocity. The main directories under trunk/ql/src/test that contain these tests and the corresponding results are as follows: -* Test Queries: - + queries/clientnegative - This directory contains the query files (.q files) for the negative test cases. These are run through the CLI classes and therefore test the entire query processor stack. - + queries/clientpositive - This directory contains the query files (.q files) for the positive test cases. Thesre are run through the CLI classes and therefore test the entire query processor stack. - + qureies/positive (Will be deprecated) - This directory contains the query files (.q files) for the positive test cases for the compiler. These only test the compiler and do not run the execution code. - + queries/negative (Will be deprecated) - This directory contains the query files (.q files) for the negative test cases for the compiler. These only test the compiler and do not run the execution code. -* Test Results: - + results/clientnegative - The expected results from the queries in queries/clientnegative. - + results/clientpositive - The expected results from the queries in queries/clientpositive. - + results/compiler/errors - The expected results from the queries in queries/negative. - + results/compiler/parse - The expected Abstract Syntax Tree output for the queries in queries/positive. - + results/compiler/plan - The expected query plans for the queries in queries/positive. -* Velocity Templates to Generate the Tests: - + templates/TestCliDriver.vm - Generates the tests from queries/clientpositive. - + templates/TestNegativeCliDriver.vm - Generates the tests from queries/clientnegative. - + templates/TestParse.vm - Generates the tests from queries/positive. - + templates/TestParseNegative.vm - Generates the tests from queries/negative. - -### Running unit tests - -Ant to Maven - -As of version [0.13](https://issues.apache.org/jira/browse/HIVE-5107) Hive uses Maven instead of Ant for its build. The following instructions are not up to date. - -See the [Hive Developer FAQ]({{< ref "#hive-developer-faq" >}}) for updated instructions. - -Run all tests: - -``` -ant package test Review Comment: The ant based commands are too obsolete. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org