Skip to content

Commit 5f2fb7c

Browse files
author
Jani Giannoudis
committed
fix(test): add xunit.runner.visualstudio for v3 test discovery
Without it, `dotnet test` reports "0 tests available" despite [Fact] attributes; fix enables discovery of 40 tests. Also normalize ©.
1 parent a61fc55 commit 5f2fb7c

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Client.Scripting.Tests/PayrollEngine.Client.Scripting.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
<ItemGroup>
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.3.0" />
1212
<PackageReference Include="xunit.v3" Version="3.2.2" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
14+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
15+
<PrivateAssets>all</PrivateAssets>
16+
</PackageReference>
1317
</ItemGroup>
1418

1519
<ItemGroup>

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project>
1+
<Project>
22

33
<PropertyGroup>
44
<TargetFramework>net10.0</TargetFramework>
@@ -7,7 +7,7 @@
77
<InformationalVersion></InformationalVersion>
88
<Authors>Jani Giannoudis</Authors>
99
<Company>Software Consulting Giannoudis</Company>
10-
<Copyright>© 2026 Software Consulting Giannoudis</Copyright>
10+
<Copyright>© 2026 Software Consulting Giannoudis</Copyright>
1111
<Product>Payroll Engine Client Scripting</Product>
1212
<PackageProjectUrl>https://payrollengine.org/</PackageProjectUrl>
1313
<RepositoryUrl>https://github.com/Payroll-Engine/PayrollEngine.Client.Scripting.git</RepositoryUrl>

0 commit comments

Comments
 (0)