IntelliTect / IntelliTect/TestTools

Log test case exceptions instead of just throwing

Aperta
#64 2 commenti 0 reazioni 1 assegnatario Rivendicata da @PandaMagnus Vedi su GitHub
Lingua principale
C#
Stelle
10
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.