Fine with me so long as the tests continue to pass.

Ralph

> On Sep 8, 2015, at 6:06 PM, Gary Gregory <[email protected]> wrote:
> 
> A lot of our tests have:
> 
>     @Rule
>     public final LoggerContextRule ctx = new LoggerContextRule(CONFIG);
> 
> I propose that we shift this where possible to using @ClassRule since it is 
> usually the case that the configuration does not need to be reset for each 
> @Test method.
> 
> Gary
> 
> -- 
> E-Mail: [email protected] | [email protected] 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Reply via email to