MarvinJWendt / testza

Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕
MIT License
418 stars 21 forks source link

Show which test failed in `AssertTestFails` #187

Closed carlosm27 closed 1 year ago

carlosm27 commented 1 year ago

Hi, how are you?

This pull request addresses issue #147 about showing which test failed. I used the t.Log() function to indicate which test failed. But I don't know if it is better to replace the message "A test that should fail did not fail" or include the name of the test in that message or show two messages. Please let me know.

Have a nice day.

carlosm27 commented 1 year ago

I apologize. I forget to change a test and it causes a runtime error.