When tests have metrics expectations and those expectations are never met, we fail the test. However, the reason for the failure is never displayed unless debug logging is enabled. This commit fixes that by displaying the last assertion error when the test is failed.
When tests have metrics expectations and those expectations are never met, we fail the test. However, the reason for the failure is never displayed unless debug logging is enabled. This commit fixes that by displaying the last assertion error when the test is failed.