Skip to content

Commit

Permalink
Snapshooter xunit3 (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
nscheibe authored Dec 20, 2024
1 parent 72cf492 commit 14cc790
Show file tree
Hide file tree
Showing 579 changed files with 21,743 additions and 3 deletions.
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

0 comments on commit 14cc790

Please sign in to comment.