Retrieve log file after tests fail
There are some tests failing on AppVeyor. I revised my code to save some information to a file during the test, and added
appveyor PushArtifact MSTests\bin\Debug\netcoreapp2.0\log.txt
to After tests script. In this way, I hope to retrieve the log and find what's wrong.
It turns out once tests fail, AppVeyor doesn't execute After tests script.
What's the best to retrieve log file generated during test run?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on 07 Jun, 2018 07:07 AM
Use
on_failure
oron_finish
script. More info. Also you can debug test interactively in RDP (Windows) or SSH (Linux).Ilya Finkelshteyn closed this discussion on 31 Aug, 2018 09:00 PM.