haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
663 stars 96 forks source link

Custom Reporter? #411

Open PhilT opened 3 years ago

PhilT commented 3 years ago

Is it possible to write a custom reporter/progess/output formatter?

What I'd like is something that is a bit more TDDish. In other words

[########                         ]   <-- Progress bar would start green and go red if a test fails

errors here

I'd run it using watch.

I think I can probably deduce the number of tests from my setup code as I'm already doing a custom collect and shuffle on it.

Happy to take a stab at it if you could point me in the right direction.

Thanks.