I have the following code:
@BeforeClass public static void setUpOnce() throws InterruptedException { fail(\"LOL\"); }
A
Make sure you imported @Test from the correct package.
Please note that this is a solution for: If your @Before, @Atter, etc did not get called at all.