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

Support Half-Mocks

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.7.1
    • mocks and stubs
    • None
    • Patch

    Description

      Half-Mocks are mocks for classes with dynamic methods or properties. One example are Grails domain objects where you would use the implemented domain specific methods but want to mock the GORM methods.

      Attachments

        1. halfmock.zip
          3 kB
          Stefan Roock
        2. GROOVY-2630__Half_mocks.patch
          16 kB
          paulk_asert

        Issue Links

          Activity

            People

              paulk Paul King
              roock Stefan Roock
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: