[ 
https://issues.apache.org/jira/browse/MRQL-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974896#comment-13974896
 ] 

Leonidas Fegaras commented on MRQL-34:
--------------------------------------

OK. Here is the solution to some of the errors:
1) The files MapReduceQueryInMemoryTest.java and 
MapReduceQueryLocalModeTest.java must include the Apache license on the top, 
otherwise the built is rejected by RAT.
2) We get these query compilation errors during Junit tests because Junit must 
include the MRQL core library lib/mrql-core-*.jar. So we need to change the 
pom.xml files to include this jar during test mode.


> Introduce junit for testing
> ---------------------------
>
>                 Key: MRQL-34
>                 URL: https://issues.apache.org/jira/browse/MRQL-34
>             Project: MRQL
>          Issue Type: Improvement
>            Reporter: Lee moon soo
>         Attachments: MRQL-34.patch, MRQL-34_a.patch, MRQL-34_b.patch
>
>
> MRQL has testcase and it's run as java standalone application by 
> org.apache.mrql.Test. 
> The Test class Invoked by maven antrun plugin at test phase
> and then load the queries and generate result and compare with the previous 
> result (if result exists)
> If junit runs those test case instead of antrun, it'll give some advantages
> 1. More common ways to adding / running test in Java
> 2. Once CI is setup, junit produces information for CI about details of test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to