Skip to content

Commit

Permalink
ci: restore integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dupdob committed Mar 29, 2022
1 parent 4e9ca67 commit f3ce357
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ stages:
inputs:
command: test
projects: '**/Validation.csproj'
arguments: --filter Traits=SingleTestProject
arguments: --filter Category=SingleTestProject

- job: LinuxTests
displayName: Run tests on Linux
Expand All @@ -217,7 +217,7 @@ stages:
inputs:
command: test
projects: '**/Validation.csproj'
arguments: --filter Traits=SingleTestProject
arguments: --filter Category=SingleTestProject

- job: MacOsTests
displayName: Run tests on Mac OS
Expand All @@ -234,7 +234,7 @@ stages:
inputs:
command: test
projects: '**/Validation.csproj'
arguments: --filter Traits=SingleTestProject
arguments: --filter Category=SingleTestProject
- template: pipeline-templates/run-integration-test-steps.yml
parameters:
testName: 'macos-netcore-multi-test-project'
Expand All @@ -244,7 +244,7 @@ stages:
inputs:
command: test
projects: '**/Validation.csproj'
arguments: --filter Traits=MultipleTestProjects
arguments: --filter Category=MultipleTestProjects

- stage: PublishMasterReleaseArtifact
displayName: Publish Release Artifact
Expand Down
4 changes: 2 additions & 2 deletions integrationtest/ValidationProject/ValidateStrykerResults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void NetCore()

var report = JsonConvert.DeserializeObject<JsonReport>(strykerRunOutput);

CheckReportMutantCounts(report, total: 63, ignored: 21, survived: 2, killed: 2, timeout: 2, nocoverage: 34);
CheckReportMutantCounts(report, total: 103, ignored: 36, survived: 4, killed: 9, timeout: 2, nocoverage: 50);
}

[Fact]
Expand All @@ -67,7 +67,7 @@ public void NetCoreWithTwoTestProjects()

var report = JsonConvert.DeserializeObject<JsonReport>(strykerRunOutput);

CheckReportMutantCounts(report, total: 63, ignored: 21, survived: 2, killed: 2, timeout: 2, nocoverage: 34);
CheckReportMutantCounts(report, total: 103, ignored: 6, survived: 9, killed: 11, timeout: 2, nocoverage: 73);
}

private void CheckReportMutantCounts(JsonReport report, int total, int ignored, int survived, int killed, int timeout, int nocoverage)
Expand Down

0 comments on commit f3ce357

Please sign in to comment.