views:

41

answers:

1

Hi,

I've set up a CCNet Server with MSBuild and MSTest. Afterwards I've created a Test Project with some Unit Tests. The Build is sucessfull, but two of the Unit Tests do fail (on purpose). I receive an Email that the Build was not successfull (even only the Unit Tests failed). Is it possible to send a seperated Email (if only the Unit Tests fail) or change the contend of the Email so I can see that only the Unit Tests failed and not the Build itsself?

I look forward to your answer, with kind regards

Sandor D.

A: 

Okay, I've appended my ccnet.config with the following code:

<email>
...
<xslFiles>
  <xslFile>xsl\header.xsl</xslFile>
  <xslFile>xsl\modifications.xsl</xslFile>
  <xslFile>xsl\compile-msbuild.xsl</xslFile>
  <xslFile>xsl\unittests.xsl</xslFile>   
  <xslFile>xsl\MsTestReport2008.xsl</xslFile>
  <xslFile>xsl\MsTestSummary.xsl</xslFile>
 </xslFiles>
</email>

So now I get an output of the passed and failed unit tests in the report email.

I would like to edit the "header.xsl" file, does anybody know where I can find the correspondending *.XML file where the "header.xsl" file gets its information from???

Kind regards

Sandor D.