title: Class teardown in junit 3?
body: <p>We have a lot of integration tests written using JUnit <strong>3</strong>, though we're now running them with <strong>4.4</strong>.  A few of these have a need for a tearDown method that runs after all the tests in the class are complete (to free some common resources).</p>
  
  <p>I see that this can be done in junit 4 with @AfterClass (org.junit).  However, mixing this into existing junit 3 tests that extend TestCase (junit.framework.*) doesn't seem to work. [BTW is there a migration tool yet? Question <a href="https://stackoverflow.com/questions/264680/best-way-to-automagically-migrate-tests-from-junit-3-to-junit-4">264680</a> indicated there wasn't one a year ago.]</p>
  
  <p>I've seen mention of using junit.extensions.TestSetup for this kind of thing.  My brief testing of this didn't seem work.  Any examples?</p>