approvals/ApprovalTests.Net — pull request #26 by michaelferrante (2013-07-26 01:58:16+00:00)
Title: Allow ApprovalTests to run under CruiseControl.NET without launching reporters. This extends the pattern for TeamCityReport to CruiseControlNetReporter.

Hey Llewellyn,

We wanted to be able to easily have the ApprovalTests work while running under CruiseControl.NET without launching the reporters. In our situation CruiseControl.NET launches NAnt which then ruins NUnit (console) which is running the tests. In this situation today ApprovalTests leaves behind the running reporter processes because there is no detector for running under CruiseControl.NET.

We saw that something like this was already setup for TeamCity (TeamCityReporter) and we followed that same pattern for CruiseControl.NET. We used one of the main CruiseControl.NET integration properties CCNetLabel ( http://cruisecontrolnet.org/projects/ccnet/wiki/Integration_Properties ) which is set as an environment variable (similar to TeamCity).

We added it to DefaultFrontLoaderReporter so that automatically the ApprovalTests work under CruiseControl.NET without leaving behind lots of processes running reporters.

If you could add this into the main respository that would be great.

Thanks,
Michael Ferrante