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

GroovyAssert should not depend on org.junit.Assert

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-2
    • None

    Description

      This will make GroovyAssert a good companion to also JUnit5 without JUnit4 jar on the classpath.

      Involves:

      • References to assertTrue and fail should be removed (trivial)
      • Hard-coded Test annotation check should be replaced with name check
      • GroovyAssert should not extend org.junit.Assert. The methods in org.junit.Assert are static and can be statically imported directly.

      For Groovy 4 only.

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 20m
                20m