You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrql.apache.org by "Leonidas Fegaras (JIRA)" <ji...@apache.org> on 2013/04/19 18:31:16 UTC

[jira] [Created] (MRQL-4) Create a testbed for MRQL queries using JUnit

Leonidas Fegaras created MRQL-4:
-----------------------------------

             Summary: Create a testbed for MRQL queries using JUnit
                 Key: MRQL-4
                 URL: https://issues.apache.org/jira/browse/MRQL-4
             Project: MRQL
          Issue Type: New Feature
    Affects Versions: 0.9.0
         Environment: Apache Ant
            Reporter: Leonidas Fegaras
            Assignee: Leonidas Fegaras


We need to create a framework for performing tests on various MRQL queries before the first release. Since we haven't used maven for building MRQL yet, I think we can do these tests using JUnit in the Ant build.xml. I do not have any experience with JUnit yet, but I was thinking to create a test framework similar to Hive's:

* we can create the directories tests/queries to keep MRQL queries, tests/data for input data, and tests/results to keep the expected query results

* allow a committer to add new queries/data/results incrementally

* be able to execute all tests in all modes using Ant: memory, MapReduce, and BSP modes

* we should require that every patch must pass all tests before commit

Questions: Is JUnit reasonable for these tasks? Is it better to use maven? (we may have to wait longer for this)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira