mercredi 13 juin 2018

I don't want assertJ assertThat ends test when assertion fails

I use assertJ and have multiple assertThat assertions in my test case. When first assertion fails test is finished but I don't want that. I'd like to have information about all failing assertions after single executing of test case. Is it any way to do that ? I have found solution with SoftAssertions here -> http://joel-costigliola.github.io/assertj/assertj-core-features-highlight.html#soft-assertions but it's ugly to add variable. before each assertThat

Aucun commentaire:

Enregistrer un commentaire