theextremeprogrammer / Succinct

UI tests at the speed of unit tests. Proper encapsulation. Architecture agnostic. Freedom to refactor.
MIT License
42 stars 7 forks source link

Add the ability to turn logging on for individual function calls #70

Open theextremeprogrammer opened 3 years ago

theextremeprogrammer commented 3 years ago

It would be helpful to give more consideration to providing useful information to the developer when a test is executed (or fails ideally) about what might have gone wrong with the test.

One idea is to allow the ability to turn logging on at the assertion level instead of at a global level. Global level logging produces too much output and takes too much time; therefore, if there's a specific test that is failing, it would be good to get useful information regarding just that one test.

Maybe this, or other ideas, can be explored to help solve this problem.