Clickable Links In Test Output
Testing output can contain clickable links simply by making it into a Uri string before writing to output
var uriPath = new Uri(path).AbsoluteUri;
eg
"c:\temp\myImage.png"
becomes this, which can be clicked
"file:///c:/temp/myImage.png"
This works with resharper test runner and vs2012 output window.
The vs2012 test explorer - doesn't work, but no suprise there :)
Written by Anthony Johnston
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#.net
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#