diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 217f7cb..7434b36 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -25,4 +25,4 @@ jobs:
- name: Build
run: dotnet build --no-restore
- name: Test
- run: dotnet test --no-build --verbosity normal
+ run: dotnet test --no-build --verbosity normal --settings coverage.runsettings
\ No newline at end of file
diff --git a/PatternService/Pattern.cs b/PatternService/Pattern.cs
new file mode 100644
index 0000000..5584617
--- /dev/null
+++ b/PatternService/Pattern.cs
@@ -0,0 +1,4 @@
+record Pattern(string Value)
+{
+ public string SomeMethod => Value;
+}
diff --git a/PatternServiceTests/PatternServiceTests.csproj b/PatternServiceTests/PatternServiceTests.csproj
new file mode 100644
index 0000000..721c071
--- /dev/null
+++ b/PatternServiceTests/PatternServiceTests.csproj
@@ -0,0 +1,36 @@
+
+
+
+ net8.0
+ enable
+ enable
+
+ false
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ ../TestResults/coverage/
+ cobertura
+ 100
+ method
+ Total
+
+
+
diff --git a/PatternServiceTests/UnitTest1.cs b/PatternServiceTests/UnitTest1.cs
new file mode 100644
index 0000000..add6a84
--- /dev/null
+++ b/PatternServiceTests/UnitTest1.cs
@@ -0,0 +1,10 @@
+namespace PatternServiceTests;
+
+public class UnitTest1
+{
+ [Fact]
+ public void Test1()
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/coverage.runsettings b/coverage.runsettings
new file mode 100644
index 0000000..98d3f68
--- /dev/null
+++ b/coverage.runsettings
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+ .*PatternService.*
+
+
+
+ ^System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute$
+ .*Test.*
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pattern-service.sln b/pattern-service.sln
index db5d60a..ba2c341 100644
--- a/pattern-service.sln
+++ b/pattern-service.sln
@@ -5,6 +5,8 @@ VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PatternService", "PatternService\PatternService.csproj", "{7C4D4357-EB66-4CD2-B0AF-9F7A3FC6D1C7}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PatternServiceTests", "PatternServiceTests\PatternServiceTests.csproj", "{3026BA50-F64E-42EB-88C9-6246E0A3E121}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -15,6 +17,10 @@ Global
{7C4D4357-EB66-4CD2-B0AF-9F7A3FC6D1C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7C4D4357-EB66-4CD2-B0AF-9F7A3FC6D1C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7C4D4357-EB66-4CD2-B0AF-9F7A3FC6D1C7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3026BA50-F64E-42EB-88C9-6246E0A3E121}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3026BA50-F64E-42EB-88C9-6246E0A3E121}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3026BA50-F64E-42EB-88C9-6246E0A3E121}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3026BA50-F64E-42EB-88C9-6246E0A3E121}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE