You simply need to annotate your test class (that contains the @BeforeAll method) with the snippet below and you’ll be good to go.
@TestInstance(Lifecycle.PER_CLASS)
You simply need to annotate your test class (that contains the @BeforeAll method) with the snippet below and you’ll be good to go.
@TestInstance(Lifecycle.PER_CLASS)