Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update refs #6

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static class VerifyConfig
}
}
```
<sup><a href='/src/Spectre.Verify.Extensions.Tests/ExpectationTests.cs#L42-L51' title='Snippet source file'>snippet source</a> | <a href='#snippet-initialize' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Spectre.Verify.Extensions.Tests/ExpectationTests.cs#L40-L49' title='Snippet source file'>snippet source</a> | <a href='#snippet-initialize' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Then the following test
Expand All @@ -40,7 +40,6 @@ public static class ExpectationTests
{
public static class MyOtherTestClass
{
[UsesVerify]
[ExpectationPath("Bar/Qux")]
public class MyOtherOtherTestClass
{
Expand All @@ -53,7 +52,6 @@ public static class ExpectationTests
}
}

[UsesVerify]
[ExpectationPath("Baz")]
public class YetAnotherTestClass
{
Expand All @@ -66,7 +64,7 @@ public static class ExpectationTests
}
}
```
<sup><a href='/src/Spectre.Verify.Extensions.Tests/ExpectationTests.cs#L9-L40' title='Snippet source file'>snippet source</a> | <a href='#snippet-usage' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Spectre.Verify.Extensions.Tests/ExpectationTests.cs#L9-L38' title='Snippet source file'>snippet source</a> | <a href='#snippet-usage' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Will produce the following directory structure:
Expand Down
2 changes: 0 additions & 2 deletions src/Spectre.Verify.Extensions.Tests/ExpectationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public static class ExpectationTests
{
public static class MyOtherTestClass
{
[UsesVerify]
[ExpectationPath("Bar/Qux")]
public class MyOtherOtherTestClass
{
Expand All @@ -25,7 +24,6 @@ public async Task Test1()
}
}

[UsesVerify]
[ExpectationPath("Baz")]
public class YetAnotherTestClass
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Verify" Version="22.3.0" />
<PackageReference Include="Verify.Xunit" Version="22.3.0" />
<PackageReference Include="MarkdownSnippets.MsBuild" Version="25.1.0">
<PackageReference Include="Verify" Version="23.0.0" />
<PackageReference Include="Verify.Xunit" Version="23.0.0" />
<PackageReference Include="MarkdownSnippets.MsBuild" Version="26.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit" Version="2.6.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Update="Roslynator.Analyzers" Version="4.9.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Verify" Version="22.3.0" />
<PackageReference Include="Verify.Xunit" Version="22.3.0" />
<PackageReference Include="Verify" Version="23.0.0" />
<PackageReference Include="Verify.Xunit" Version="23.0.0" />
<PackageReference Update="Roslynator.Analyzers" Version="4.9.0" />
</ItemGroup>

<ItemGroup>
Expand Down