.Net Cruise Control: Using Packages and Displaying NUnit Results

After much confusion, I finally managed to successfully deploy the instance of Cruise Control.net to our build server. It checks the server every few minutes and builds only if it detects changes in the svn repository. For building and testing, I use a combination of MSBuild and NUnit. MSBuild deletes all previously created XML test result files, builds projects, and launches NUnit. Finally, I include the results from the test results in the current Cruise Control build result using the Publisher \ Merge parameter in ccnet.config

The results are quite large. However, the generated magazines are huge and hard to get through. I watched my own instance of cruise control at http://ccnetlive.thoughtworks.com/ccnet/server/CCNet%20Live/project/NetReflector/ViewProjectReport.aspx , and there are additional options included on the side in the build report, such as NUnit results, etc.

I tried installing several packages from the CCnet admin panel, but none of the recently installed packages appeared in the control panel. I assume that I need to do more than just install these packages, how to mess with the configuration files, but I cannot figure out how to do this. Does anyone have experience in this regard?

+3
source share
1 answer

- Nunit Cruise Control:

<tasks>
    <msbuild>
       <executable>C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe</executable>
       <workingDirectory>D:\Compil\src\net-3.5\MyProject\trunk</workingDirectory>
       <projectFile>MyProject.sln</projectFile>
       <buildArgs>/p:Cible="DEV"</buildArgs>
       <targets>Clean;Build</targets>
       <timeout>600</timeout>
       <logger>D:\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MSBuild.dll</logger>
   </msbuild>
   <nunit>
       <path>C:\Program Files\NUnit 2.5.7\bin\net-2.0\nunit-console.exe</path>
        <assemblies>
            <assembly>D:\Compil\src\net-3.5\MyProject\trunk\Tester\Tester.exe</assembly>
        </assemblies>
   </nunit>
</tasks>

nunit.

, , xsl, (. - .Net Nant)

, .

+2

Source: https://habr.com/ru/post/1765142/


All Articles