philsquared/Catch — pull request #106 by ibond (2012-07-26 03:46:50+00:00)
Title: MSVC reporter and a couple of changes to remove MSVC warnings when using /Wall

The primary change here is adding a new reporter type to print errors and warnings in a format that can be parsed by Visual Studio and put into the Error List window.

This is useful because I set the test executable to be run automatically as a post-build step so the build is considered failed if any of the tests fail. With the MSVC reporter the errors and warnings show up in the Error List window just like compiler errors and double clicking on them takes me directly to the failing test.

The MSVC reporter output is almost identical to the basic reporter so I extended that rather than copy/pasting the code. I did have to make some changes to the basic reporter code however the output from the basic reporter should remain unchanged.