Skip to content

Instantly share code, notes, and snippets.

@mkzer0
Last active February 19, 2022 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkzer0/60a31fdff3e1dc0eeb7669a1691c0c7c to your computer and use it in GitHub Desktop.
Save mkzer0/60a31fdff3e1dc0eeb7669a1691c0c7c to your computer and use it in GitHub Desktop.
ReadMe Provider Tests
 ReadMe.Provider.Tests.SomethingApiTests.EnsureSomethingApiHonoursPactWithConsumer
 Source: SomethingApiTests.cs line 23
Test has multiple result outcomes
 2 Failed
Results
1)   ReadMe.Provider.Tests.SomethingApiTests.EnsureSomethingApiHonoursPactWithConsumer 
Duration: 31 ms
Message: 
PactNet.Exceptions.PactFailureException : Pact verification failed
Stack Trace: 
InteropVerifierProvider.Execute() line 219
PactVerifierSource.Verify() line 89
SomethingApiTests.EnsureSomethingApiHonoursPactWithConsumer() line 47
Standard Output: 
Starting verification...
Pact verification failed
Verifier Output
---------------
Verifier Logs
-------------
2)   ReadMe.Provider.Tests.SomethingApiTests.EnsureSomethingApiHonoursPactWithConsumer 
Duration: 1 ms
Message: 
[Test Class Cleanup Failure (ReadMe.Provider.Tests.SomethingApiTests)]: System.IO.DirectoryNotFoundException : Could not find a part of the path 'C:\src\pact-net\samples\ReadMe\Provider.Tests\data'.
Stack Trace: 
FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
FileSystemEnumerator`1.Init()
FileSystemEnumerator`1.ctor(String directory, Boolean isNormalized, EnumerationOptions options)
FileSystemEnumerable`1.ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
Directory.GetFiles(String path, String searchPattern, EnumerationOptions enumerationOptions)
Directory.GetFiles(String path)
SomethingApiFixture.Dispose() line 31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment