Utilizzando TestNG, perché il @DataProvider
viene eseguito prima di @BeforeClass
?In testng, perché @DataProvider viene eseguito prima di @BeforeClass?
Sembra che talvolta lovenga eseguito prima del @BeforeClass
e talvolta no?
Chi conosce il motivo?
Che tipo di framework di test stai usando? – InSane
È difficile da dire, ma ha effettivamente detto nel tag: TestNG: http://testng.org/doc/documentation-main.html Il tag ** sembra ** come "testing", ma in realtà è "testng" ". Io, l'ho messo nella domanda stessa per chiarezza. (E così ho fatto.) –
@ T.J - Accidenti - questo è esattamente l'errore che ho fatto. Il tag sembrava proprio "test" per me! Buona pesca!! Colpa mia!! – InSane