This commit is contained in:
Simon Cropp 2024-08-10 19:06:05 +10:00 коммит произвёл GitHub
Родитель 0c3c4e8a48
Коммит 8a87e7fc27
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
296 изменённых файлов: 2572 добавлений и 221 удалений

Просмотреть файл

@ -68,7 +68,7 @@ public Task Anon()
});
}
```
<sup><a href='/src/Verify.Xunit.Tests/VerifyObjectSamples.cs#L23-L47' title='Snippet source file'>snippet source</a> | <a href='#snippet-AnonXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/VerifyObjectSamples.cs#L23-L47' title='Snippet source file'>snippet source</a> | <a href='#snippet-AnonXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Просмотреть файл

@ -81,7 +81,7 @@ public void TraditionalTest()
Assert.Equal("USA", person.Address.Country);
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/CompareToAssert.cs#L3-L21' title='Snippet source file'>snippet source</a> | <a href='#snippet-TraditionalTest' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/CompareToAssert.cs#L3-L21' title='Snippet source file'>snippet source</a> | <a href='#snippet-TraditionalTest' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -97,7 +97,7 @@ public Task SnapshotTest()
return Verify(person);
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/CompareToAssert.cs#L23-L32' title='Snippet source file'>snippet source</a> | <a href='#snippet-SnapshotTest' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/CompareToAssert.cs#L23-L32' title='Snippet source file'>snippet source</a> | <a href='#snippet-SnapshotTest' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
Produces a snapshot file `SnapshotTest.verified.txt`:
@ -121,4 +121,22 @@ Produces a snapshot file `SnapshotTest.verified.txt`:
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/CompareToAssert.SnapshotTest.verified.txt#L1-L14' title='Snippet source file'>snippet source</a> | <a href='#snippet-CompareToAssert.SnapshotTest.verified.txt' title='Start of snippet'>anchor</a></sup>
<a id='snippet-CompareToAssert.SnapshotTest.verified.txt-1'></a>
```txt
{
GivenNames: John,
FamilyName: Smith,
Spouse: Jill,
Address: {
Street: 4 Puddle Lane,
Country: USA
},
Children: [
Sam,
Mary
],
Id: Guid_1
}
```
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/CompareToAssert.SnapshotTest.verified.txt#L1-L14' title='Snippet source file'>snippet source</a> | <a href='#snippet-CompareToAssert.SnapshotTest.verified.txt-1' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Просмотреть файл

@ -54,7 +54,7 @@ public Task WithTargets() =>
name: "targetName")
]);
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L39-L55' title='Snippet source file'>snippet source</a> | <a href='#snippet-ExplicitTargetsXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L39-L55' title='Snippet source file'>snippet source</a> | <a href='#snippet-ExplicitTargetsXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Просмотреть файл

@ -307,7 +307,7 @@ public class UniqueForSample
.UniqueForOSPlatform();
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/UniqueForSample.cs#L1-L66' title='Snippet source file'>snippet source</a> | <a href='#snippet-UniqueForSampleXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/UniqueForSample.cs#L1-L66' title='Snippet source file'>snippet source</a> | <a href='#snippet-UniqueForSampleXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -534,7 +534,7 @@ public class ExtensionSample
extension: "xml");
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ExtensionSample.cs#L1-L30' title='Snippet source file'>snippet source</a> | <a href='#snippet-XunitExtensionSample' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ExtensionSample.cs#L1-L30' title='Snippet source file'>snippet source</a> | <a href='#snippet-XunitExtensionSample' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
Result in:
@ -593,7 +593,7 @@ Verifier.DerivePathInfo(
typeName: type.Name,
methodName: method.Name));
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L8-L14' title='Snippet source file'>snippet source</a> | <a href='#snippet-DerivePathInfoXUnit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L8-L14' title='Snippet source file'>snippet source</a> | <a href='#snippet-DerivePathInfoXUnit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Просмотреть файл

@ -44,7 +44,7 @@ public Task UseParametersUsage(string arg)
.UseParameters(arg);
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ParametersSample.cs#L100-L112' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseParameters' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ParametersSample.cs#L100-L112' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseParameters' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
If not all parameters are required, a subset can be passed in. In this scenario, the parameters passed in will match with the method parameter names from the start. For example the following will result in a file named `ParametersSample.UseParametersSubSet_arg1=Value1_arg2=Value2.verified.txt`
@ -61,7 +61,7 @@ public Task UseParametersSubSet(string arg1, string arg2, string arg3)
.UseParameters(arg1, arg2);
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ParametersSample.cs#L114-L125' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseParametersSubSet' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ParametersSample.cs#L114-L125' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseParametersSubSet' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
If the number of parameters passed to `UseParameters()` is greater than the number of parameters in the test method, an exception will be thrown.
@ -152,7 +152,7 @@ public Task InlineDataUsageFluent(string arg) =>
Verify(arg)
.UseParameters(arg);
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ParametersSample.cs#L79-L98' title='Snippet source file'>snippet source</a> | <a href='#snippet-xunitInlineData' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ParametersSample.cs#L79-L98' title='Snippet source file'>snippet source</a> | <a href='#snippet-xunitInlineData' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -188,7 +188,7 @@ public static IEnumerable<object[]> GetData()
];
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ParametersSample.cs#L127-L156' title='Snippet source file'>snippet source</a> | <a href='#snippet-xunitMemberData' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ParametersSample.cs#L127-L156' title='Snippet source file'>snippet source</a> | <a href='#snippet-xunitMemberData' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -291,7 +291,7 @@ public class ComplexParametersSample
public record ComplexStructData(string Value);
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ComplexParametersSample.cs#L1-L95' title='Snippet source file'>snippet source</a> | <a href='#snippet-xunitComplexMemberData' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ComplexParametersSample.cs#L1-L95' title='Snippet source file'>snippet source</a> | <a href='#snippet-xunitComplexMemberData' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
`VerifierSettings.NameForParameter()` is required since the parameter type has no `ToString()` override that can be used for deriving the name of the `.verified.` file.
@ -475,7 +475,7 @@ public Task IgnoreParametersForVerified(string arg)
return Verify("value", settings);
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ParametersSample.cs#L11-L23' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ParametersSample.cs#L11-L23' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -491,7 +491,7 @@ public Task IgnoreParametersForVerifiedFluent(string arg) =>
Verify("value")
.IgnoreParametersForVerified(arg);
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ParametersSample.cs#L25-L34' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedFluentXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ParametersSample.cs#L25-L34' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedFluentXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -592,7 +592,7 @@ public Task IgnoreParametersForVerifiedCustomParams(string arg)
return Verify("value", settings);
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ParametersSample.cs#L36-L48' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedCustomParamsXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ParametersSample.cs#L36-L48' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedCustomParamsXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -608,7 +608,7 @@ public Task IgnoreParametersForVerifiedCustomParamsFluent(string arg) =>
Verify("value")
.IgnoreParametersForVerified($"Number{arg}");
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ParametersSample.cs#L50-L59' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedCustomParamsFluentXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ParametersSample.cs#L50-L59' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedCustomParamsFluentXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -851,7 +851,7 @@ public class ParametersHashSample
.HashParameters();
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/ParametersHashSample.cs#L1-L42' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseParametersHashXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/ParametersHashSample.cs#L1-L42' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseParametersHashXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Просмотреть файл

@ -394,7 +394,7 @@ public class ScrubbersSample
.ScrubEmptyLines();
}
```
<sup><a href='/src/Verify.Xunit.Tests/Scrubbers/ScrubbersSample.cs#L1-L129' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubbersSampleXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Scrubbers/ScrubbersSample.cs#L1-L129' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubbersSampleXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -743,7 +743,7 @@ public class ScrubberLevelsSample
VerifierSettings.AddScrubber(_ => _.Replace("One", "A"));
}
```
<sup><a href='/src/Verify.Xunit.Tests/Scrubbers/ScrubberLevelsSample.cs#L1-L31' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubberLevelsSampleXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Scrubbers/ScrubberLevelsSample.cs#L1-L31' title='Snippet source file'>snippet source</a> | <a href='#snippet-ScrubberLevelsSampleXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Просмотреть файл

@ -16,7 +16,7 @@ Verifies all files in a directory. This approach combines [UseUniqueDirectory](/
public Task WithDirectory() =>
VerifyDirectory(directoryToVerify);
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L95-L101' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyDirectoryXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L95-L101' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyDirectoryXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -36,7 +36,7 @@ public Task WithDirectoryFiltered() =>
RecurseSubdirectories = false
});
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L132-L145' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyDirectoryFilterXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L132-L145' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyDirectoryFilterXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -53,7 +53,7 @@ public Task VerifyDirectoryWithInfo() =>
directoryToVerify,
info: "the info");
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L103-L111' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyDirectoryWithInfo' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L103-L111' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyDirectoryWithInfo' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -77,7 +77,7 @@ public Task VerifyDirectoryWithFileScrubber() =>
}
});
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L113-L128' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyDirectoryWithFileScrubber' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L113-L128' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyDirectoryWithFileScrubber' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
This applies to files where the extensins is a known text file as defined by [FileExtensions.IsText](https://github.com/VerifyTests/EmptyFiles#istext).

Просмотреть файл

@ -16,7 +16,7 @@ Verifies all files in a zip archive. This approach combines [UseUniqueDirectory]
public Task WithZip() =>
VerifyZip(zipPath);
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L151-L157' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyZipXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L151-L157' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyZipXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -31,7 +31,7 @@ public Task WithZipFiltered() =>
zipPath,
include: filePath => filePath.FullName.Contains("Doc"));
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L186-L194' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyZipFilterXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L186-L194' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyZipFilterXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -48,7 +48,7 @@ public Task VerifyZipWithInfo() =>
zipPath,
info: "the info");
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L159-L167' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyZipWithInfo' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L159-L167' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyZipWithInfo' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
@ -72,7 +72,7 @@ public Task VerifyZipWithFileScrubber() =>
}
});
```
<sup><a href='/src/Verify.Xunit.Tests/Tests.cs#L169-L184' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyZipWithFileScrubber' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Tests.cs#L169-L184' title='Snippet source file'>snippet source</a> | <a href='#snippet-VerifyZipWithFileScrubber' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
This applies to files where the extensins is a known text file as defined by [FileExtensions.IsText](https://github.com/VerifyTests/EmptyFiles#istext).

Просмотреть файл

@ -146,7 +146,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -146,7 +146,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -146,7 +146,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -146,7 +146,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -140,7 +140,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -140,7 +140,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -140,7 +140,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -140,7 +140,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -195,7 +195,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -195,7 +195,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -195,7 +195,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -195,7 +195,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -189,7 +189,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -189,7 +189,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -189,7 +189,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -189,7 +189,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -146,7 +146,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -146,7 +146,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -146,7 +146,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -146,7 +146,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -140,7 +140,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -140,7 +140,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -140,7 +140,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -140,7 +140,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -195,7 +195,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -195,7 +195,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -195,7 +195,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -195,7 +195,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -189,7 +189,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -189,7 +189,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -189,7 +189,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -189,7 +189,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -159,7 +159,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -159,7 +159,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -159,7 +159,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -159,7 +159,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -153,7 +153,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -153,7 +153,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -153,7 +153,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -153,7 +153,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -208,7 +208,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -208,7 +208,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -208,7 +208,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -208,7 +208,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -202,7 +202,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -202,7 +202,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -202,7 +202,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -202,7 +202,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -216,7 +216,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -216,7 +216,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -216,7 +216,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -216,7 +216,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -210,7 +210,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -210,7 +210,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -210,7 +210,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -210,7 +210,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -159,7 +159,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -159,7 +159,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -159,7 +159,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -159,7 +159,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -153,7 +153,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -153,7 +153,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -153,7 +153,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -153,7 +153,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->
## Diff Tool

Просмотреть файл

@ -159,7 +159,7 @@ public class Sample
}
}
```
<sup><a href='/src/Verify.Xunit.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.XunitV3.Tests/Snippets/Sample.cs#L1-L13' title='Snippet source file'>snippet source</a> | <a href='#snippet-SampleTestXunit' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Просмотреть файл

@ -32,10 +32,12 @@
<PackageVersion Include="System.Memory" Version="4.5.5" />
<PackageVersion Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.3.0" />
<PackageVersion Include="TextCopy" Version="6.2.1" />
<PackageVersion Include="YoloDev.Expecto.TestSdk" Version="0.14.3" />
<PackageVersion Include="Xunit" Version="2.9.0" />
<PackageVersion Include="xunit.abstractions" Version="2.0.3" />
<PackageVersion Include="xunit.extensibility.execution" Version="2.9.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.0-pre.24" />
<PackageVersion Include="xunit.v3" Version="0.2.0-pre.69" />
<PackageVersion Include="xunit.v3.extensibility.core" Version="0.2.0-pre.69" />
<PackageVersion Include="YoloDev.Expecto.TestSdk" Version="0.14.3" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,6 +1,4 @@
#region ScrubberLevelsSampleXunit
public class ScrubberLevelsSample
public class ScrubberLevelsSample
{
VerifySettings classLevelSettings;
@ -26,6 +24,4 @@ public class ScrubberLevelsSample
[ModuleInitializer]
public static void Initialize() =>
VerifierSettings.AddScrubber(_ => _.Replace("One", "A"));
}
#endregion
}

Просмотреть файл

@ -1,6 +1,4 @@
#region ScrubbersSampleXunit
public class ScrubbersSample
public class ScrubbersSample
{
[Fact]
public Task Lines()
@ -124,6 +122,4 @@ public class ScrubbersSample
""")
.ScrubEmptyLines();
}
#endregion
}

Просмотреть файл

@ -1,7 +1,5 @@
public class CompareToAssert
{
#region TraditionalTest
[Fact]
public void TraditionalTest()
{
@ -18,16 +16,10 @@
Assert.Equal("USA", person.Address.Country);
}
#endregion
#region SnapshotTest
[Fact]
public Task SnapshotTest()
{
var person = ClassBeingTested.FindPerson();
return Verify(person);
}
#endregion
}

Просмотреть файл

@ -1,6 +1,4 @@
#region xunitComplexMemberData
public class ComplexParametersSample
public class ComplexParametersSample
{
[ModuleInitializer]
public static void Initialize()
@ -90,6 +88,4 @@ public class ComplexParametersSample
}
public record ComplexStructData(string Value);
}
#endregion
}

Просмотреть файл

@ -1,6 +1,4 @@
#region XunitExtensionSample
public class ExtensionSample
public class ExtensionSample
{
[Fact]
public Task AtMethod() =>
@ -25,6 +23,4 @@ public class ExtensionSample
</note>
""",
extension: "xml");
}
#endregion
}

Просмотреть файл

@ -1,6 +1,4 @@
#region UseParametersHashXunit
public class ParametersHashSample
public class ParametersHashSample
{
[Theory]
[InlineData("Value1")]
@ -37,6 +35,4 @@ public class ParametersHashSample
Verify(arg)
.UseParameters(arg)
.HashParameters();
}
#endregion
}

Просмотреть файл

@ -8,8 +8,6 @@
];
}
#region IgnoreParametersForVerifiedXunit
[Theory]
[InlineData("One")]
[InlineData("Two")]
@ -20,10 +18,6 @@
return Verify("value", settings);
}
#endregion
#region IgnoreParametersForVerifiedFluentXunit
[Theory]
[InlineData("One")]
[InlineData("Two")]
@ -31,10 +25,6 @@
Verify("value")
.IgnoreParametersForVerified(arg);
#endregion
#region IgnoreParametersForVerifiedCustomParamsXunit
[Theory]
[InlineData("One")]
[InlineData("Two")]
@ -45,10 +35,6 @@
return Verify("value", settings);
}
#endregion
#region IgnoreParametersForVerifiedCustomParamsFluentXunit
[Theory]
[InlineData("One")]
[InlineData("Two")]
@ -56,8 +42,6 @@
Verify("value")
.IgnoreParametersForVerified($"Number{arg}");
#endregion
[Theory]
[MemberData(nameof(GetDecimalData))]
public Task Decimal(decimal arg) =>
@ -76,8 +60,6 @@
Verify(arg)
.UseParameters(arg);
#region xunitInlineData
[Theory]
[InlineData("Value1")]
[InlineData("Value2")]
@ -95,10 +77,6 @@
Verify(arg)
.UseParameters(arg);
#endregion
#region UseParameters
[Theory]
[InlineData("Value1")]
[InlineData("Value2")]
@ -109,10 +87,6 @@
.UseParameters(arg);
}
#endregion
#region UseParametersSubSet
[Theory]
[InlineData("Value1", "Value2", "Value3")]
public Task UseParametersSubSet(string arg1, string arg2, string arg3)
@ -122,10 +96,6 @@
.UseParameters(arg1, arg2);
}
#endregion
#region xunitMemberData
[Theory]
[MemberData(nameof(GetData))]
public Task MemberDataUsage(string arg)
@ -153,7 +123,6 @@
];
}
#endregion
// #region xunitAutoFixture
//

Просмотреть файл

@ -1,6 +1,4 @@
#region SampleTestXunit
public class Sample
public class Sample
{
[Fact]
public Task Test()
@ -8,6 +6,4 @@ public class Sample
var person = ClassBeingTested.FindPerson();
return Verify(person);
}
}
#endregion
}

Просмотреть файл

@ -1,6 +1,4 @@
#region UniqueForSampleXunit
public class UniqueForSample
public class UniqueForSample
{
[Fact]
public Task Runtime()
@ -61,6 +59,4 @@ public class UniqueForSample
public Task OSPlatformFluent() =>
Verify("value")
.UniqueForOSPlatform();
}
#endregion
}

Просмотреть файл

@ -5,14 +5,11 @@ public class Tests
{
// ReSharper disable once UnusedMember.Local
static void DerivePathInfo() =>
#region DerivePathInfoXUnit
Verifier.DerivePathInfo(
(sourceFile, projectDirectory, type, method) => new(
directory: Path.Combine(projectDirectory, "Snapshots"),
typeName: type.Name,
methodName: method.Name));
#endregion
[Theory]
[InlineData("Value1")]
@ -36,8 +33,6 @@ public class Tests
public Task StringTarget() =>
Verify(new Target("txt", "Value"));
#region ExplicitTargetsXunit
[Fact]
public Task WithTargets() =>
Verify(
@ -52,8 +47,6 @@ public class Tests
name: "targetName")
]);
#endregion
[ModuleInitializer]
public static void InitWithTargetsAndConverter() =>
VerifierSettings.RegisterFileConverter(
@ -85,33 +78,23 @@ public class Tests
Verify(
[
new Target(
extension: "txt",
data: "Raw target value",
name: "targetName")
extension: "txt",
data: "Raw target value",
name: "targetName")
]);
static string directoryToVerify = Path.Combine(AttributeReader.GetSolutionDirectory(), "ToVerify");
#region VerifyDirectoryXunit
[Fact]
public Task WithDirectory() =>
VerifyDirectory(directoryToVerify);
#endregion
#region VerifyDirectoryWithInfo
[Fact]
public Task VerifyDirectoryWithInfo() =>
VerifyDirectory(
directoryToVerify,
info: "the info");
#endregion
#region VerifyDirectoryWithFileScrubber
[Fact]
public Task VerifyDirectoryWithFileScrubber() =>
VerifyDirectory(
@ -125,12 +108,8 @@ public class Tests
}
});
#endregion
#if !NET48
#region VerifyDirectoryFilterXunit
[Fact]
public Task WithDirectoryFiltered() =>
VerifyDirectory(
@ -142,32 +121,20 @@ public class Tests
RecurseSubdirectories = false
});
#endregion
#endif
static string zipPath = Path.Combine(AttributeReader.GetSolutionDirectory(), "ToVerify.zip");
#region VerifyZipXunit
[Fact]
public Task WithZip() =>
VerifyZip(zipPath);
#endregion
#region VerifyZipWithInfo
[Fact]
public Task VerifyZipWithInfo() =>
VerifyZip(
zipPath,
info: "the info");
#endregion
#region VerifyZipWithFileScrubber
[Fact]
public Task VerifyZipWithFileScrubber() =>
VerifyZip(
@ -181,15 +148,9 @@ public class Tests
}
});
#endregion
#region VerifyZipFilterXunit
[Fact]
public Task WithZipFiltered() =>
VerifyZip(
zipPath,
include: filePath => filePath.FullName.Contains("Doc"));
#endregion
}

Просмотреть файл

@ -20,8 +20,6 @@ public class VerifyObjectSamples
return Verify(person, settings);
}
#region AnonXunit
[Fact]
public Task Anon()
{
@ -44,8 +42,6 @@ public class VerifyObjectSamples
});
}
#endregion
class Person
{
public string GivenNames;

Просмотреть файл

@ -0,0 +1 @@
Value

Просмотреть файл

@ -0,0 +1 @@
Value

Просмотреть файл

@ -0,0 +1 @@
Value

Просмотреть файл

@ -0,0 +1 @@
Value

Просмотреть файл

Просмотреть файл

@ -0,0 +1,70 @@
public class Tests
{
[Fact]
public Task Test()
{
DerivePathInfo(
(sourceFile, projectDirectory, methodName, typeName) =>
{
Assert.True(File.Exists(sourceFile));
Assert.True(Directory.Exists(projectDirectory));
Assert.NotNull(methodName);
Assert.NotNull(typeName);
Assert.EndsWith("Verify.Xunit.DerivePaths.Tests/Tests.cs", sourceFile.Replace(@"\", "/"));
Assert.EndsWith("Verify.Xunit.DerivePaths.Tests/", projectDirectory.Replace(@"\", "/"));
return new("CustomDir", "CustomTypeName", "CustomMethodName");
});
return Verify("Value");
}
[Fact]
public Task ReturnNulls()
{
DerivePathInfo((_, _, _, _) => new(null));
return Verify("Value");
}
[Fact]
public Task ProjectRelativeDirectory()
{
UseProjectRelativeDirectory("Relative");
return Verify("Value");
}
[Fact]
public Task SourceFileRelativeDirectory()
{
UseSourceFileRelativeDirectory("Relative");
return Verify("Value");
}
[Fact]
public Task InvalidMethod()
{
DerivePathInfo((_, _, _, _) => new(null, null, Path
.GetInvalidFileNameChars()
.First()
.ToString()));
return Assert.ThrowsAsync<ArgumentException>(() => Verify("Value"));
}
[Fact]
public Task InvalidType()
{
DerivePathInfo((_, _, _, _) => new(null, Path
.GetInvalidFileNameChars()
.First()
.ToString()));
return Assert.ThrowsAsync<ArgumentException>(() => Verify("Value"));
}
[Fact]
public Task InvalidDirectory()
{
DerivePathInfo((_, _, _, _) => new(Path
.GetInvalidPathChars()
.First()
.ToString()));
return Assert.ThrowsAsync<ArgumentException>(() => Verify("Value"));
}
}

Просмотреть файл

@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Xunit" />
<PackageReference Include="xunit.runner.visualstudio" PrivateAssets="all" />
<PackageReference Include="ProjectDefaults" PrivateAssets="all" />
<ProjectReference Include="..\Verify.Xunit\Verify.XunitV3.csproj" />
<ProjectReference Include="..\Verify\Verify.csproj" />
</ItemGroup>
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.props" />
<Import Project="$(ProjectDir)..\Verify\buildTransitive\Verify.targets" />
<Import Project="$(ProjectDir)..\Verify.XunitV3\buildTransitive\Verify.XunitV3.props" />
</Project>

Просмотреть файл

@ -0,0 +1 @@
Foo

Просмотреть файл

@ -0,0 +1 @@
Foo

Просмотреть файл

@ -0,0 +1,10 @@
public class Base
{
[Fact]
public Task TestInBase() =>
Verify("Foo");
[Fact]
public virtual Task TestToOverride() =>
Verify("Foo");
}

Просмотреть файл

@ -0,0 +1 @@
Foo

Просмотреть файл

@ -0,0 +1 @@
Foo

Просмотреть файл

@ -0,0 +1,8 @@
public class Inherited : Base
{
public override Task TestToOverride()
{
Trace.WriteLine("");
return base.TestToOverride();
}
}

Просмотреть файл

@ -0,0 +1 @@
NestedFoo

Просмотреть файл

@ -0,0 +1 @@
Foo

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше