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 "junit"

Testing java ee applications – the server side java symposium

March 17th, 2011 by Jeanne Boyarsky

This session was also fast moving and information filled, but it didn’t feel as overwhelming as the Spring session. The presenter included demos of some of the technologies.  He did use the term “unit test” for things that test through the web and database. I would rather these be called integration/functional tests. I wish the [...]

Test smells breakout at the server side java symposium

March 16th, 2011 by Jeanne Boyarsky

While I’ve read about this topic a lot, I wanted to come to do the topic to see how Lasse Koskela presents. [I've learned so much from him over the years as a moderator at coderanch ] He speaks in the same voice that he writes – casual and easy to follow. I really liked [...]

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