Ejemplo n.º 1
0
 public async Task RunCoverageAsync(ICoverageProject project, CancellationToken cancellationToken)
 {
     if (project.IsDotNetSdkStyle())
     {
         await coverletUtil.RunCoverletAsync(project, cancellationToken);
     }
     else
     {
         await openCoverUtil.RunOpenCoverAsync(project, cancellationToken);
     }
 }
Ejemplo n.º 2
0
 private System.Threading.Tasks.Task RunCoverToolAsync(ICoverageProject project)
 {
     if (project.IsDotNetSdkStyle())
     {
         return(coverletUtil.RunCoverletAsync(project, true));
     }
     else
     {
         return(openCoverUtil.RunOpenCoverAsync(project, true));
     }
 }