[ 
https://issues.apache.org/jira/browse/LOG4J2-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Sicker updated LOG4J2-497:
-------------------------------

    Attachment: 0001-Add-config-file-JUnit-rules.patch

Here's my current implementations. Tested the Log4jConfig rule with dozens of 
unit tests so far to get the API the way I liked it.

> Create Log4j config JUnit rule.
> -------------------------------
>
>                 Key: LOG4J2-497
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-497
>             Project: Log4j 2
>          Issue Type: Sub-task
>          Components: Core
>    Affects Versions: 2.0-rc1
>            Reporter: Matt Sicker
>              Labels: JUnit, Testing
>         Attachments: 0001-Add-config-file-JUnit-rules.patch
>
>
> This should be a TestRule implementation that sets the proper system property 
> and configurates the configuration from the specified config file. It can be 
> used as either a class rule or test rule using {{@ClassRule}} or {{@Rule}} 
> respectively.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to