Last active
June 22, 2020 12:31
-
-
Save krishnaanaril/3bdfb13019d83d971d5d08ab0c45ceac to your computer and use it in GitHub Desktop.
Powershell script to repeat the testing certain number of times. This is to find the errors caused by the numbers generated in random/inputs generated in random.
This file contains hidden or 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
$count = 0 | |
do { | |
$count = $count + 1 | |
Write-Host "Testing: "+$count | |
$result = dotnet test .\Sample.csproj --filter "FullyQualifiedName=Test_Namespace.Test_Name" --nologo --no-build | |
} while(($result.ExitCode -ne 0) -and ($count -lt 50)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment