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

Provide a GroovyLogTestCase that allows running tests under a certain log level and spoof that log

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-JSR-3
    • 1.0-JSR-4
    • None
    • None

    Description

      Helper class to spoof log entries as produced by calling arbitrary code.
      This allows non-intrusive testing of dependent objects without
      explicitly using Mock objects as long as those dependent objects
      do some proper logging.
      As a measure of last resort, it can be used on MetaClass to spoof
      it's log entries on 'invokeMethod'.

      Attachments

        Activity

          People

            Unassigned Unassigned
            codevise Dierk König
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: