I am writing several helper functions for tests that I would like to test.
I need to make sure that in some conditions the test function will fail the test. Since this is the expected behavior - my actual test needs to succeed.
Some ideas of how I can achieve this? Something like test reset or fake testing.T object.
Aucun commentaire:
Enregistrer un commentaire