diff --git a/Retroactiune.WebAPI/Program.cs b/Retroactiune.WebAPI/Program.cs index d378f68..7605ca0 100644 --- a/Retroactiune.WebAPI/Program.cs +++ b/Retroactiune.WebAPI/Program.cs @@ -1,8 +1,10 @@ +using System.Diagnostics.CodeAnalysis; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace Retroactiune { + [ExcludeFromCodeCoverage] public class Program { public static void Main(string[] args) diff --git a/Retroactiune.WebAPI/Startup.cs b/Retroactiune.WebAPI/Startup.cs index 7cc13bf..9c53707 100644 --- a/Retroactiune.WebAPI/Startup.cs +++ b/Retroactiune.WebAPI/Startup.cs @@ -1,4 +1,5 @@ using System; +using System.Diagnostics.CodeAnalysis; using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; @@ -13,6 +14,7 @@ using Retroactiune.Settings; namespace Retroactiune { + [ExcludeFromCodeCoverage] public class Startup { public Startup(IConfiguration configuration)