Skip to content

Commit

Permalink
Add script to easily run unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaubry committed Oct 22, 2015
1 parent ed0483e commit 7c46002
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

nuget install xunit.runner.console -Version 2.1.0 -OutputDirectory packages

@("Debug", "Release", "Release-Portable") | % {
Write-Host ""
Write-Host "Testing $_ build"
Write-Host "----------------------------------------------"

dir "YamlDotNet.Test\bin\$_\YamlDotNet.Test*dll" | % {
Write-Host $_.FullName
.\packages\xunit.runner.console.2.1.0\tools\xunit.console.exe $_.FullName
}
}

0 comments on commit 7c46002

Please sign in to comment.