My JUnit tests simply aren't running. When I tried, nothing happened. JUnit displayed 0/0 tests run, and there were no logs nor errors in the console
I checked the different possible causes in this post: JUnit Tests not running in Eclipse, but none of the answers worked for me.
I also tried commenting parts of my code until I was left with the most basic test possible with an assertTrue(false), but it still didn't run.
Here's a minimal example of a test that doesn't run:
import static org.junit.Assert.assertTrue;
import org.junit.jupiter.api.Test;
public class MinimalTest {
@Test
private void testThatWontExecute()
{
assertTrue(false);
}
}