mardi 23 juin 2020

How to do assertion after the @test method runs in the 5th time @InvocationTime?

I have a case that should fail after it runs 5 times, so i need to do an assertion to check a message after the method finished the 5th iteration of run.

Note: I wanna know how to check in which iteration the method is currently running.I'm using "InvocationTime" annotation to specify how many times i want my test method to run.

Aucun commentaire:

Enregistrer un commentaire