This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="Test" DependsOnTargets="Build"> | |
<!-- First we deploy the application --> | |
<MSBuild Targets="Deploy" Projects="WebCalc\WebCalc.csproj" ContinueOnError="false" /> | |
<!-- Now we test the web application --> | |
<Exec Command="WebCalc.FunctionalTest\Deliverables\Assemblies\WebCalc.FunctionalTest.exe /site:http://localhost/WebCalc_deploy /xml=FunctionalTestReport.xml"/> | |
</Target> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="Deploy"> | |
<MSBuild Projects="$(SolutionFile)" | |
Properties="Configuration=$(Configuration);DeployOnBuild=true;DeployTarget=Package" | |
ContinueOnError="false" /> | |
<Exec Command=""$(ProjectPath)\obj\$(Configuration)\Package\$(ProjectName).deploy.cmd" /y /m:$(DeployServer) -enableRule:DoNotDeleteRule" | |
ContinueOnError="false" /> | |
</Target> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<publishers> | |
<merge> | |
<files> | |
<file>coverage-report\Summary.xml</file> | |
</files> | |
</merge> | |
<xmllogger /> | |
</publishers> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<buildPlugins> | |
<buildReportBuildPlugin> | |
<xslFileNames> | |
<xslFile>xsl\OpenCoverReport.Assembly.xsl</xslFile> | |
</xslFileNames> | |
</buildReportBuildPlugin> | |
<buildLogBuildPlugin /> | |
<xslReportBuildPlugin description="OpenCover Report" actionName="OpenCoverBuildReport" xslFileName="xsl\OpenCoverReport.Class.xsl"></xslReportBuildPlugin> | |
</buildPlugins> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt"> | |
<xsl:output method="html" indent="no"/> | |
<xsl:template match="/"> | |
<xsl:variable name="cov0style" select="'background:#FF4040;text-align:right;'"/> | |
<xsl:variable name="cov20style" select="'background:#F06060;text-align:right;'"/> | |
<xsl:variable name="cov40style" select="'background:#E78080;text-align:right;'"/> | |
<xsl:variable name="cov60style" select="'background:#E0A0A0;text-align:right;'"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt"> | |
<xsl:output method="html" indent="yes"/> | |
<xsl:template match="/"> | |
<xsl:variable name="cov0style" select="'background:#E79090;text-align:right;'"/> | |
<xsl:variable name="cov20style" select="'background:#D79797;text-align:right;'"/> | |
<xsl:variable name="cov40style" select="'background:#D7A0A0;text-align:right;'"/> | |
<xsl:variable name="cov60style" select="'background:#C7A7A7;text-align:right;'"/> | |
<xsl:variable name="cov80style" select="'background:#C0B0B0;text-align:right;'"/> | |
<xsl:variable name="cov100style" select="'background:#D7D7D7;text-align:right;'"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="Coverage" > | |
<Exec Command=".\tools\OpenCover\OpenCover.Console.exe -register:user -target:.\tools\nunit\bin\nunit-console.exe "-targetdir:MyTestProjectDir\bin\$(Configuration)" "-targetargs:MyTestAssembly.Test.dll" -output:OpenCoverReport.xml "-filter:+[MyProjectNamespace*]* -[MyProjectNamespace.Test*]*"" /> | |
<Exec Command=".\tools\reportgenerator\ReportGenerator.exe -reports:OpenCoverReport.xml -targetdir:.\coverage-report -reporttypes:XML;HTML" /> | |
</Target> |
NewerOlder