Skip to content

Instantly share code, notes, and snippets.

@dazinator
Created October 24, 2018 22:17
Show Gist options
  • Save dazinator/0c0dd27d2c1a83ff1b33f40e7cadccea to your computer and use it in GitHub Desktop.
Save dazinator/0c0dd27d2c1a83ff1b33f40e7cadccea to your computer and use it in GitHub Desktop.
dotnet watch and run tests
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