I have started testing and now i want to use @After, @Before and @Test but my application only runs the @Before method an
@After
@Before
@Test
in my case, I had that problem the solution was to change the java access modifier, It was way private.
before (not working) @Test void validate() throws Exception {}
after (working) @Test public void validate() throws Exception {}