Gang,
if anyone has extensive experience with JUnit5, is there any explanation
that


@Override
@BeforeEach
public void setUp()
    throws Exception
{
    super.setUp();


will not be called when running the test, but if I change it to


@BeforeEach
public void setUp2()
    throws Exception
{
    super.setUp();


It will be called?

The super-class's method is

@BeforeEach
public void setUp()
    throws Exception
{
    polygene = new Energy4Java();




And IF I change to setUp2(), then the setUp() in the super class IS called
directly by junit platform engine.

Cheers
-- 
Niclas Hedhman, Software Developer
http://polygene.apache.org - New Energy for Java

Reply via email to