KentBeck/junit — Issue #367: @BeforeSuite and @AfterSuite, SuiteRule
Author: matthewfarwell
Created: 2011-12-08 19:27:47+00:00
State: open

@BeforeSuite and @AfterSuite are the logical extensions of @Before/@After, @BeforeClass/@AfterClass. There would be two changes:

1. Addition of Suite.BeforeSuite and Suite.AfterSuite Annotations, because they would only apply to Suite classes.
2. Addition of @SuiteRule, with basically the same restrictions/behaviour of ClassRule.

I'm submitting this for discussion, to see what people think of it. I will do the work if people are ok with it.