Exclude Startup and Program from coverage.

This commit is contained in:
Denis-Cosmin Nutiu 2021-06-06 00:07:05 +03:00
parent c64cb4a023
commit 13e1ffa3d6
2 changed files with 4 additions and 0 deletions

View file

@ -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)

View file

@ -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)