dimanche 25 juin 2017

Does Google Test Have the Concept of "Unexpected Success"?

Suppose there's a deficiency in my code that I don't have time to address yet. I do have time to write a test but I don't want it to "break the build".

I would like to write a test that will show as an "Expected Failure" until I address the issue at which point it would changed to "Unexpected Success". At that point I could change it into a standard test that I expect to pass and would break the build if it failed.

Is there any way to do this in Google Test? DISABLED_ tests don't really cut it because they aren't run.

Aucun commentaire:

Enregistrer un commentaire