[seam-issues] [JBoss JIRA] Created: (SOLDER-88) Logger stub for testing that captures and validates log entries

Ken Finnigan (JIRA) jira-events at lists.jboss.org
Thu Mar 17 08:57:53 EDT 2011


Logger stub for testing that captures and validates log entries
---------------------------------------------------------------

                 Key: SOLDER-88
                 URL: https://issues.jboss.org/browse/SOLDER-88
             Project: Seam Solder
          Issue Type: Feature Request
          Components: Logging
    Affects Versions: 3.0.0.CR2
            Reporter: Ken Finnigan
            Priority: Minor


Provide a means of stubbing out the Logger injections within test code.

Ideally the stub should also capture messages being logged to enable the test to validate that they were logged correctly, and if the real logger was attached it would have produced the correct output.

This test provides example of the idea: https://github.com/glaforge/gaelyk/blob/master/core/src/test/groovyx/gaelyk/MailSupportTest.groovy

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list