Skip to content

Commit

Permalink
Adding tests to build script and job definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
EMaher committed Jan 26, 2016
1 parent 06bd407 commit 1e8de24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ Param(
# Restore and build projects
& scripts/Call-Dnu.ps1 restore .\src
& scripts/Call-Dnu.ps1 build .\src\PartsUnlimitedWebsite --configuration $BuildConfiguration

& scripts/Call-Dnu.ps1 restore .\test
& scripts/Call-Dnu.ps1 build .\test\PartsUnlimited.UnitTests --configuration $BuildConfiguration

# Run tests
& scripts/Call-Dnx.ps1 -p .\test\PartsUnlimited.UnitTests test -xml testresults.xml
4 changes: 4 additions & 0 deletions netci.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def project = GithubProject
// These allow PR jobs to be used for simple private testing, for instance.
// See the documentation for this function to see additional optional parameters.
Utilities.simpleInnerLoopJobSetup(newJob, project, isPR, "Windows ${configuration}")

//Upload test results
Utilities.addXUnitDotNETResults(newJob, '**/testresults.xml')

}
}

0 comments on commit 1e8de24

Please sign in to comment.