It indeed has a very cool intuitive API. However, I noticed it relies on the testing.T package so it is meant for unit tests.
I thought such a useful library could be used for normal runs of the application (not just unit tests). So, not for testing my code but test the application user's input.
In this non-unit-test use case, it would also be nice to have the assert code conditionally compiled. For example only when debug is enabled. There as another assert Go library that is not for unit tests and is conditionally compiled, but it is definitely not as cool to use as this.
Any chance this could be updated?
It indeed has a very cool intuitive API. However, I noticed it relies on the
testing.Tpackage so it is meant for unit tests.I thought such a useful library could be used for normal runs of the application (not just unit tests). So, not for testing my code but test the application user's input.
In this non-unit-test use case, it would also be nice to have the assert code conditionally compiled. For example only when debug is enabled. There as another assert Go library that is not for unit tests and is conditionally compiled, but it is definitely not as cool to use as this.
Any chance this could be updated?