public interface BeforeAfterClassMethodsProvider
SpincastJUnitRunner.| Modifier and Type | Method and Description |
|---|---|
void |
afterClass()
Called after the tests of the class are ran.
|
void |
beforeClass()
Called before the tests of the class are ran.
|
void |
beforeClassException(Throwable ex)
This method will be called if an exception occures during
the
beforeClass() execution. |
void beforeClass()
void afterClass()
This will only be called if the beforeClass() method completed successfully, so you can be sure that the instanciation of the class is complete here.
void beforeClassException(Throwable ex)
beforeClass() execution.
Be careful!! Here, you are pretty much certain that
the instanciation of the class was not succesful, so you
can't use any of its methods!Copyright © 2019. All rights reserved.