Hi Can you use one of the latest builds? There were updates done to visualize MStest fro VS2008, this was done in build 1.4.0.3652
You may of course take the latest build, which is even better. These can be found at : http://ccnetlive.thoughtworks.com/CCNet-builds/1.4/ with kind regards Ruben Willems On Tue, Nov 4, 2008 at 9:45 PM, Mark Allen <[EMAIL PROTECTED]> wrote: > Hi everybody, > > I'm trying to get started with CruiseControl.NET v1.4.0.3524. (and > MSBuild / VS 2008 and MSTest.exe) I'm not getting test result logs and am > hoping it's something stupid I'm doing that you'll spot right away and be > able to set me straight. > > I've got my ccnet.config file set up in what I think is mostly the right > fashion: It detects when I check in changes, triggers a build, the build > then passes if my tests pass and fails if the tests fail. However, something > is wrong with my dashboard or the way I have the logs set up, because while > the build log contains the output from mstest.exe, I'm not able to click and > see anything from the test logs in my links. > > I wind up with links along the left side on the dashboard, like so: > > Build Report > View Build Log > MSTest Report > MSTest Summary > MSBuild Report > > But the MSTest links don't contain any information. I'm at a loss to > explain why. Currently I have it running the tests twice, because I'm still > trying to get it to work. Here are snippets from my config file: > > <exec executable="C:\Program Files\Microsoft Visual Studio > 9.0\Common7\IDE\MSTest.exe"> > > <baseDirectory>C:\scroot\BuildInfo2\BI2UnitTests\bin\Debug</baseDirectory> > <buildArgs>/testContainer:BI2UnitTests.dll</buildArgs> > <buildTimeoutSeconds>30</buildTimeoutSeconds> > </exec> > <exec executable="C:\Program Files\Microsoft Visual Studio > 9.0\Common7\IDE\MSTest.exe"> > > <baseDirectory>C:\scroot\BuildInfo2\BI2UnitTests\bin\Debug</baseDirectory> > <buildArgs>/testContainer:BI2UnitTests.dll > /resultsFile:C:\scroot\BuildInfo2\BI2UnitTests\bin\Debug\bi2unitTestResults.xml</buildArgs> > <buildTimeoutSeconds>30</buildTimeoutSeconds> > </exec> > <publishers> > <merge> > <files> > > <file>C:\scroot\BuildInfo2\BI2UnitTests\bin\Debug\TestResults\*.trx</file> > > <file>C:\scroot\BuildInfo2\BI2UnitTests\bin\Debug\bi2unitTestResults.xml</file> > </files> > </merge> > <xmllogger logDir="c:\scroot\buildlogs\BuildInfo2" /> > <statistics /> > </publishers> > > > and here's my dashboard config file: > > <?xml version="1.0" encoding="utf-8" ?> > <dashboard> > <remoteServices> > <servers> > <!-- Update this list to include all the servers you want to > connect to. NB - each server name must be unique --> > <server name="local" > url="tcp://localhost:21234/CruiseManager.rem" allowForceBuild="true" > allowStartStopBuild="true" /> > </servers> > </remoteServices> > <plugins> > <farmPlugins> > <farmReportFarmPlugin /> > <cctrayDownloadPlugin /> > </farmPlugins> > <serverPlugins> > <serverReportServerPlugin /> > <serverLogServerPlugin /> > <serverInformationServerPlugin /> > </serverPlugins> > <projectPlugins> > <projectReportProjectPlugin /> > <latestBuildReportProjectPlugin /> > <viewAllBuildsProjectPlugin /> > <projectStatisticsPlugin xslFileName="xsl\StatisticsGraphs.xsl" > /> > <serverLogProjectPlugin /> > <viewConfigurationProjectPlugin /> > <modificationHistoryProjectPlugin /> > </projectPlugins> > <buildPlugins> > <buildReportBuildPlugin> > <xslFileNames> > <xslFile>xsl\header.xsl</xslFile> > <xslFile>xsl\modifications.xsl</xslFile> > <xslFile>xsl\compile.xsl</xslFile> > <xslFile>xsl\MsTestReport.xsl</xslFile> > <xslFile>xsl\MsTestSummary.xsl</xslFile> > </xslFileNames> > </buildReportBuildPlugin> > <buildLogBuildPlugin /> > <xslReportBuildPlugin description="MSTest Report" > actionName="MSTestReport" xslFileName="xsl\MsTestReport.xsl"/> > <xslReportBuildPlugin description="MSTest Summary" > actionName="MSTestSummary" xslFileName="xsl\MsTestSummary.xsl"/> > <xslReportBuildPlugin description="MSBuild Report" > actionName="MSBuildBuildReport" xslFileName="xsl\msbuild.xsl"/> > </buildPlugins> > </plugins> > </dashboard> > > Thanks in advance, > > Mark Allen > >
