In testng: Why does @DataProvider work before @BeforeClass?

Using TestNG , why does @DataProvider work before @BeforeClass ?

It seems that sometimes @DataProvider works before @BeforeClass , and sometimes not?

Does anyone know the reason?

+6
java testng
source share
1 answer

This is the way it is implemented today, is this a problem for you?

+4
source share

All Articles