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

Snapshooter xunit3 #211

Merged
merged 5 commits into from
Dec 20, 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion src/Dependencies.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup Label="Framework Versions">
<ResourceProjectTargetFrameworks>netstandard2.0;net462;net6.0;net7.0;net8.0</ResourceProjectTargetFrameworks>
<ResourceProjectTargetFrameworks>netstandard2.0;net462;net6.0;net8.0;net9.0</ResourceProjectTargetFrameworks>
</PropertyGroup>
</Project>
2 changes: 2 additions & 0 deletions src/Snapshooter.Xunit3/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Snapshooter.Xunit3.Tests")]
25 changes: 25 additions & 0 deletions src/Snapshooter.Xunit3/Snapshooter.Xunit3.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(CCResourceProjectProps)" Condition="Exists('$(CCResourceProjectProps)')" />

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<AssemblyName>Snapshooter.Xunit3</AssemblyName>
<RootNamespace>Snapshooter.Xunit3</RootNamespace>
<PackageId>Snapshooter.Xunit3</PackageId>
<Description>
Xunit Snapshooter is a flexible snapshot testing tool for .Net unit tests with Xunit.
It creates and asserts snapshots (json) within Xunit unit tests.
</Description>
<IsTestProject>false</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="xunit.v3.core" />
<PackageReference Include="xunit.v3.assert" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Snapshooter\Snapshooter.csproj" />
</ItemGroup>

</Project>
Loading
Loading