Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-259

Removal of the main methods from the test case classes

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.3
    • 0.4
    • None

    Description

      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

      Attachments

        1. GORA-259.patch
          5 kB
          Apostolos Giannakidis

        Activity

          People

            ap.giannakidis Apostolos Giannakidis
            ap.giannakidis Apostolos Giannakidis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: