Skip to content

Commit

Permalink
Ignore tests failing on Mono
Browse files Browse the repository at this point in the history
Ignore tests that fail on Unix / Mono due to pathing problems, as explained in GitTools#29.
  • Loading branch information
asbjornu committed May 13, 2016
1 parent b973181 commit 966cc10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ install:
- nuget install NUnit.Runners -Version 3.2.1 -OutputDirectory ./src/packages
script:
- xbuild ./src/GitTools.Core.sln /property:Configuration="Debug" /verbosity:detailed
- mono --debug --runtime=v4.0.30319 ./src/packages/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe ./output/debug/GitTools.Core.Tests/net45/GitTools.Core.Tests.dll
- mono --debug --runtime=v4.0.30319 ./src/packages/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe ./output/debug/GitTools.Core.Tests/net45/GitTools.Core.Tests.dll -where "cat != NoMono"
2 changes: 2 additions & 0 deletions src/GitTools.Core.Tests/Git/GitRepositoryFactoryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public class GitRepositoryFactoryTests
[Test]
[TestCase(DefaultBranchName, DefaultBranchName)]
[TestCase(SpecificBranchName, SpecificBranchName)]
[Category("NoMono")]
public void WorksCorrectlyWithRemoteRepository(string branchName, string expectedBranchName)
{
var repoName = Guid.NewGuid().ToString();
Expand Down Expand Up @@ -119,6 +120,7 @@ public void UpdatesExistingDynamicRepository()
}

[Test]
[Category("NoMono")]
public void PicksAnotherDirectoryNameWhenDynamicRepoFolderTaken()
{
var repoName = Guid.NewGuid().ToString();
Expand Down

0 comments on commit 966cc10

Please sign in to comment.