Refactoring JUnit 3.8 to 4.0 when hierarchy extends TestCase

Site menu:

Topics

Recent Posts

Blog

 

March 2010
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031  

Past Posts

Links:

Tag: junit

Refactoring JUnit 3.8 to 4.0 when hierarchy extends TestCase

February 2nd, 2010 by Jeanne Boyarsky

Problem:
I want to start writing tests in JUnit 4.0, but I have a lot of tests in JUnit 3.8.  I can’t just start writing tests in 4.0, because I rely on common setup/assertions in my custom superclass which extends TestCase. (Which means JUnit will only look for 3.8 style tests)
Solution:
Create one or more new [...]

product review: infinitest

October 24th, 2009 by Jeanne Boyarsky

Want to run your JUnit tests as soon as you change the code?  That’s what infinitest strives to do.  The starting point is infinitetest.org which directs you to the corporate site.
What does it do?
Infinitest installs as a plugin to your IDE.  In Eclipse, it adds a bar to the bottom of your screen.  I’d say [...]