IntelliTect / IntelliTect/TestTools

Log test case exceptions instead of just throwing

Offen
#64 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @PandaMagnus Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
10
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.