Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9492

Relax groovy.test.NotYetImplemented dependency on JUnit 4's AssertionFailedError

    XMLWordPrintableJSON

    Details

      Description

      Working on removing the remainder of JUnit 4 from spock-core, I have encountered @groovy.transform.NotYetImplemented which transformation is wired to junit.framework.AssertionFailedError. It's deprecated in favor of @groovy.test.NotYetImplemented, but the corresponding transformation is also wired to AssertionFailedError. That makes its usage without JUnit 4 (and also testing in Spock 2) harder

      It would be good to check at runtime which exception is available at classpath to work also in the situation without JUnit 4 on classpath.

       

      Btw, I don't know which component should I choose. There is no groovy-test component.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                paulk Paul King
                Reporter:
                szpak Marcin Zajaczkowski
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m