Grails
  1. Grails
  2. GRAILS-6424

Support for JUnit4 @Ignore(String) annotation in test report-

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: Testing
    • Labels:
      None

      Description

      Grails 1.3.x includes JUnit4 and JUnit4 provides the @Ignore annotation, which can take a string to indicate why a test is being ignored.

      When a test run is executed, it should indicate how many passed how many failed and how many were ignored, with the string to show why.

      Currently, Grails ignores the test, but does not display anything about ignored tests.

      It would be very valuable to have detailed statistics of not only how many of your tests were successful or failed, but also, what was the number of the skipped tests, which is what the @Ignore annotation provides.

        Activity

        Hide
        Jean Barmash added a comment -

        This would hopefully also help with showing @Ignore in spock tests, which are also currently ignored.

        Show
        Jean Barmash added a comment - This would hopefully also help with showing @Ignore in spock tests, which are also currently ignored.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ed Young
          • Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Last Reviewed:

              Development