junit suite wide setup (not @BeforeClass)

Site menu:

Topics

Recent Posts

Blog

 

July 2010
M T W T F S S
« Jun    
 1234
567891011
12131415161718
19202122232425
262728293031  

Past Posts

Links:

Archive for 'JavaRanch Forum Migration'

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

clone a postgresql database for testing cleanly

March 28th, 2010 by Jeanne Boyarsky

I’m looking at writing integration tests for the back end of JavaRanch‘s JForum install. A few “pesky” requirements/constraints Multiple developers all over the word have their own local test databases filled with data in different states.  The tests must work for everyone.  Ideally they won’t leave data floating around either. The tests must use PostgreSQL.  [...]

javaranch forums go mobile

January 3rd, 2010 by Jeanne Boyarsky

Want to know what went  on behind the scenes of JavaRanch’s mobile site creation? Timeline January 2009 – We started talking about how poorly the site renders on a BlackBerry July 2009 – I got a BlackBerry for work.  And ugh.  The forums do look horrible. August 2009 – Tried out BlackBerry emulator and explored [...]