junit suite wide setup (not @BeforeClass)

Main menu:

Topics

Recent Posts

Blog

 

February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829  

Past Posts

Java/J2EE

JDBC

Other

Archive for the tag "integration_test"

junit suite wide setup (not @BeforeClass)

April 12th, 2010 by Jeanne Boyarsky

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 [...]


Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 518941792 bytes) in Unknown on line 0