Open omus opened 4 years ago
The alternative would likely result in noisy tests.
I was thinking of displaying all logs that occurred within the @test_log
macro if an exception occurred. This would be a bit tricky as you'd need to capture the logs and emit them later which would be out of sync with anything printed directly to stdout.
When using
@test_log
if an exception occurs you won't be able to see any Memento logs that may be helpful in determining the source of the error. For example: