IntelliTect / IntelliTect/TestTools

Log test case exceptions instead of just throwing

Open
#64 2 comments 0 reactions 1 assignee Claimed by @PandaMagnus View on GitHub
Dominant language
C#
Stars
10
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Currently we log that a test failed, but don't log the exception. This is problematic if you're running the tests in an environment where the exception isn't captured and logged (E.G. AzureDevops will automatically log exceptions to a build or release log.) Might be worth it to log the exception before throwing.

Logging to-do's:
- [x] Log test case exceptions instead of just throwing
- [x] Make sure logging from ExecuteTestCase is at a uniform level (prefer Debug as much as possible)
- [ ] Update logging around serializing JSON

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.