18 lines
719 B
PowerShell
18 lines
719 B
PowerShell
# Test debugger script for JsonExtensionTests
|
|
$projectPath = "H:\Applications\Mango\Source\FruitBankHybridApp"
|
|
Set-Location $projectPath
|
|
|
|
Write-Host "Building test project..."
|
|
dotnet build FruitBankHybrid.Shared.Tests/FruitBankHybrid.Shared.Tests.csproj -c Debug
|
|
|
|
Write-Host "`nRunning JsonExtensionTests..."
|
|
# Use --no-build to avoid the MSBuild conflict
|
|
dotnet test FruitBankHybrid.Shared.Tests/FruitBankHybrid.Shared.Tests.csproj `
|
|
--no-build `
|
|
-c Debug `
|
|
--filter "ClassName=FruitBankHybrid.Shared.Tests.JsonExtensionTests" `
|
|
2>&1 | Tee-Object -FilePath "test_results.txt"
|
|
|
|
Write-Host "`n=== Test Results ==="
|
|
Get-Content "test_results.txt" | Select-String -Pattern "FAILED|PASSED|Error|Assert" | tail -50
|