[ 
https://issues.apache.org/jira/browse/GORA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lewis John McGibbney updated GORA-52:
-------------------------------------

    Attachment: GORA-52.patch

This patch includes a neat mechanism to run individual tests from the terminal. 
It will come in really handy when firstly getting the existing tests resolved 
and secondly for writing tests for the Cassandra module. It can be used as 
follows

{code}

lewis@lewis-01:~/ASF/gora$ bin/gora junit 
org.apache.gora.avro.store.TestAvroStore
.F
Time: 0.002
There was 1 failure:
1) warning(junit.framework.TestSuite$1)junit.framework.AssertionFailedError: No 
tests found in org.apache.gora.avro.store.TestAvroStore

FAILURES!!!
Tests run: 1,  Failures: 1,  Errors: 0

{code} 
                
> Run JUnit tests from the command line
> -------------------------------------
>
>                 Key: GORA-52
>                 URL: https://issues.apache.org/jira/browse/GORA-52
>             Project: Gora
>          Issue Type: New Feature
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Minor
>              Labels: test
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-52.patch
>
>
> We recently committed a wee patch for Apache Nutch which enables us to run 
> JUnit tests from the command line, an excellent method for quickly testing 
> test cases outside of an IDE. I think that Gora could benefit from something 
> similar, however as the architecture is somewhat different e.g. various 
> modules, I will need to think for a while about how to go about integrating 
> this.   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to