Last active
December 11, 2015 20:19
-
-
Save marcusoftnet/4654873 to your computer and use it in GitHub Desktop.
Example file running Pickles via MsBuild
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
<Project | |
DefaultTargets="documentSpecs" | |
xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\pickles\msbuild\PicklesDoc.Pickles.MSBuild.Tasks.dll" TaskName="Pickles" /> | |
<PropertyGroup> | |
<!-- See here for arguments: https://github.com/picklesdoc/pickles/wiki/Arguments --> | |
<FeatureDirectory>$(MSBuildProjectDirectory)\Specs</FeatureDirectory> | |
<OutputDirectory>$(MSBuildProjectDirectory)\MSBuildOutput</OutputDirectory> | |
<SystemUnderTestName>Tradera Awesome</SystemUnderTestName> | |
<SystemUnderTestVersion>2.4.2.1</SystemUnderTestVersion> | |
<ResultsFormat>nunit</ResultsFormat> <!-- mstest --> | |
<ResultsFile>$(MSBuildProjectDirectory)\Specs\bin\Debug\TestResult.xml</ResultsFile> | |
<DocumentationFormat>html</DocumentationFormat> <!-- json, word, dita--> | |
</PropertyGroup> | |
<Target Name="documentSpecs"> | |
<MakeDir Directories="$(OutputDirectory)" /> | |
<Pickles FeatureDirectory="$(FeatureDirectory)" | |
OutputDirectory="$(OutputDirectory)" | |
ResultsFormat="$(ResultsFormat)" | |
ResultsFile="$(ResultsFile)" | |
SystemUnderTestName="$(SystemUnderTestName)" | |
SystemUnderTestVersion="$(SystemUnderTestVersion)" | |
DocumentationFormat="$(DocumentationFormat)"/> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment