Created
June 28, 2012 01:45
-
-
Save marcel-valdez/3008206 to your computer and use it in GitHub Desktop.
Example Target to test a web application, considering the project contains a definition for a Deploy task
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment