dimanche 24 juillet 2016

how to count number of exceptions in unit test java?

In the code, I count number of exceptions. In the unit test, it seems that i cant assertEquals for expected number of exceptions because it throw exception in the test before the assertEquals. How can i do it?

Aucun commentaire:

Enregistrer un commentaire