Created
October 24, 2018 22:17
-
-
Save dazinator/0c0dd27d2c1a83ff1b33f40e7cadccea to your computer and use it in GitHub Desktop.
dotnet watch and run tests
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
Get-ChildItem -recurse *tests.csproj | % { Start-Process -FilePath 'dotnet' -NoNewWindow -ArgumentList "watch", "--project="$($_.FullName)"", "test";if($? -ne $TRUE) {throw 'Unit Test Failure.'} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment