... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)

2009-11-24

JUnit 4.5.0 vs. @BeforeClass

The JUnit (4.5.0) documentation states that if you annotate a static method with @BeforeClass, it will be called after any similarly annotated methods in superclasses. This normally works, but if the method in the subclass happens to use the same name as that in a superclass (setUpClass for example), the superclass method will not be invoked first.

Blog Archive