can we make a custom annotation in testNG , something like the built-in @BeforeMethod annotation, which would run just before a particular method and not before all methods?
i have come across few answers for this one, one asked to create separate class for each test and the other suggested use of @BeforeGroup, but i am looking for something with custom annotation.
Aucun commentaire:
Enregistrer un commentaire