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

Create TestMixin to allow test cases to be derived from any object and allow non-void methods

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • class generator
    • None

    Description

      Make TestMixin which would allow...
      use to use a GroovyTestSuite to avoid the 'void' issue
      allow other naming conventions - endsWith("Test" || "Bug")
      allow a Groovy test to derive from any object!

      class FooTest extends Cheese implements TestMixin {

      normalOperationTest() {
      }

      nullPointerBug()

      { ... }

      }

      Attachments

        Issue Links

          Activity

            People

              guillaume Guillaume Sauthier
              jstrachan James Strachan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: