Problem How do I run setup/teardown for my whole suite, not just one class/test? Impact of Problem JUnit offers @Before to run a method before each test and @BeforeClass to run a method once before a class. For a small suite, @BeforeClass may be enough. For a large integration test suite, setting up the database [...]
↧