chore: add code coverage
This commit is contained in:
1 parent
dd47ddac98
commit
f41d12b7fd
11 files changed
+59
-20
No files matched your search
@@ -0,0 +1,10 @@
|
||||
namespace StevanFreeborn.Atproto.IdentityResolver.Tests;
|
||||
|
||||
public class GreeterTests
|
||||
{
|
||||
[Fact]
|
||||
public void SayHello_WhenCalled_ItShouldReturnHi()
|
||||
{
|
||||
Greeter.SayHello().Should().Be("Hi!");
|
||||
}
|
||||
}
|
||||
+2
-3
@@ -1,11 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -14,10 +11,12 @@
|
||||
|
||||
<ItemGroup>
|
||||
<Using Include="Xunit" />
|
||||
<Using Include="AwesomeAssertions" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="AwesomeAssertions" />
|
||||
<PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" />
|
||||
<PackageReference Include="xunit.v3.mtp-v2" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
namespace StevanFreeborn.Atproto.IdentityResolver.Tests;
|
||||
|
||||
public class UnitTest1
|
||||
{
|
||||
[Fact]
|
||||
public void Test1()
|
||||
{
|
||||
Assert.True(true);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user