Class AutoEnvironment

java.lang.Object
org.junit.rules.ExternalResource
org.zkoss.zats.junit.AutoEnvironment
All Implemented Interfaces:
org.junit.rules.TestRule

public class AutoEnvironment extends org.junit.rules.ExternalResource
A TestRule implementing ExternalResource creating and destroying a ZatsEnvironment.
Used with ClassRule it provides a pluggable alternative to separate static methods annotated with BeforeClass and AfterClass

Also see: dzone.com/articles/junit-49-class-and-suite-level-rules