You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Renato Javier Marroquín Mogrovejo (JIRA)" <ji...@apache.org> on 2013/07/27 19:55:48 UTC

[jira] [Commented] (GORA-259) Removal of the main methods from the test case classes

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

Renato Javier Marroquín Mogrovejo commented on GORA-259:
--------------------------------------------------------

Yeah I don't think we need main methods inside JUnit test case classes. Are you going to wipe this out Apos?
                
> Removal of the main methods from the test case classes
> ------------------------------------------------------
>
>                 Key: GORA-259
>                 URL: https://issues.apache.org/jira/browse/GORA-259
>             Project: Apache Gora
>          Issue Type: Test
>    Affects Versions: 0.3
>            Reporter: Apostolos Giannakidis
>            Assignee: Apostolos Giannakidis
>            Priority: Minor
>              Labels: junit
>             Fix For: 0.4
>
>
> Some JUnit test case classes, such as the TestHBaseStore.java contain a main method. Is this method necessary? As far as I know, having main methods in the JUnit test case classes is not a recommended practice [1].
> [1] http://sqa.fyicenter.com/FAQ/JUnit/Do_You_Need_to_Write_a_main_Method_in_a_JUnit_.html

--
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