Skip to content

Commit

Permalink
WIP #148 - Attempt to fix broken build on Windows (excess tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigfowler committed Jun 22, 2018
1 parent f6eec4d commit de8ec88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ test:
- '**\CSF.Screenplay.WebApis.Tests.dll'
- '**\Ploeh.AutoFixture.NUnit3.dll'
- '**\CSF.Screenplay.NUnit.dll'
- '**\CSF.Screenplay.Reporting.Html.Tests\bin\Debug\CSF.Screenplay.Reporting.Tests.dll'
- '**\CSF.Screenplay.Reporting.Json.Tests\bin\Debug\CSF.Screenplay.Reporting.Tests.dll'
artifacts:
- path: Tests\CSF.Screenplay.WebTestWebsite
name: TestWebsite
Expand Down
8 changes: 7 additions & 1 deletion Tools/Build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ build_solution()
run_unit_tests()
{
echo "Running unit tests ..."
test_assemblies=$(find ./Tests/ -type f -path "*/bin/Debug/*" -name "$TEST_PATTERN" \! -name "${JSON_TESTS}.dll")
test_assemblies=$(find ./Tests/ \
-type f \
-path "*/bin/Debug/*" \
-name "$TEST_PATTERN" \
\! -name "${JSON_TESTS}.dll" \
\! path "*/CSF.Screenplay.Reporting.*.Tests/bin/Debug/CSF.Screenplay.Reporting.Tests.dll" \
)
mono "$NUNIT_PATH" --result="UnitTests.xml" $test_assemblies
stop_if_failure $? "Run unit tests"
}
Expand Down

0 comments on commit de8ec88

Please sign in to comment.