You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (Created) (JIRA)" <ji...@apache.org> on 2011/10/12 00:37:11 UTC

[jira] [Created] (GORA-52) Run JUnit tests from the command line

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
            Priority: Minor
             Fix For: 0.2-incubating


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

        

[jira] [Resolved] (GORA-52) Run JUnit tests from the command line

Posted by "Lewis John McGibbney (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney resolved GORA-52.
--------------------------------------

    Resolution: Fixed

Committed @ revision 1208522 in Gora trunk

                
> 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

        

[jira] [Commented] (GORA-52) Run JUnit tests from the command line

Posted by "Lewis John McGibbney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160138#comment-13160138 ] 

Lewis John McGibbney commented on GORA-52:
------------------------------------------

Any objections?
                
> 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

        

[jira] [Assigned] (GORA-52) Run JUnit tests from the command line

Posted by "Lewis John McGibbney (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney reassigned GORA-52:
----------------------------------------

    Assignee: Lewis John McGibbney
    
> 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
>
>
> 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

        

[jira] [Closed] (GORA-52) Run JUnit tests from the command line

Posted by "Lewis John McGibbney (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GORA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney closed GORA-52.
------------------------------------

    
> 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

        

[jira] [Commented] (GORA-52) Run JUnit tests from the command line

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160643#comment-13160643 ] 

Hudson commented on GORA-52:
----------------------------

Integrated in gora-trunk #56 (See [https://builds.apache.org/job/gora-trunk/56/])
    commit to address GORA-52 & update to changes.txt

lewismc : http://svn.apache.org/viewvc/incubator/gora/trunk/viewvc/?view=rev&root=&revision=1208522
Files : 
* /incubator/gora/trunk/CHANGES.txt
* /incubator/gora/trunk/bin/gora

                
> 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

        

[jira] [Commented] (GORA-52) Run JUnit tests from the command line

Posted by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160142#comment-13160142 ] 

Chris A. Mattmann commented on GORA-52:
---------------------------------------

+1 commit!
                
> 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

        

[jira] [Updated] (GORA-52) Run JUnit tests from the command line

Posted by "Lewis John McGibbney (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Commented] (GORA-52) Run JUnit tests from the command line

Posted by "Lewis John McGibbney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125449#comment-13125449 ] 

Lewis John McGibbney commented on GORA-52:
------------------------------------------

Here is the link to the Nutch commit I describe above

https://issues.apache.org/jira/browse/NUTCH-672
http://svn.apache.org/viewvc/nutch/trunk/src/bin/nutch?r1=1175075&r2=1177270&diff_format=h
                
> 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
>            Priority: Minor
>              Labels: test
>             Fix For: 0.2-incubating
>
>
> 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

        

[jira] [Commented] (GORA-52) Run JUnit tests from the command line

Posted by "Lewis John McGibbney (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157596#comment-13157596 ] 

Lewis John McGibbney commented on GORA-52:
------------------------------------------

Although I stupidly had to pick a test which will not run in this particular example, the patch does work. :)
                
> 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