Show / Hide Table of Contents

Interface IReportCoverage

A build which reports test coverage.

Inherited Members
ITest.TestResultDirectory
ITest.TestResultDirectoryOrDefault
ITest.TestFilter
ITest.TestCollect
ITest.Test
ITest.TestSettings
ITest.TestSettingsBase(string, string)
ITest.RunTest(string, string)
ICompile.Compile
ICompile.CompileSettingsBase
ICompile.CompileSettings
ICompile.RunCompile()
ICompile.RunCompileWithBinLog()
IHasGitVersion.Versioning
IHasGitVersion.AddGitVersioning
IHasGitVersion.TrySetCloudBuildNumber()
IRestore.Restore
IRestore.RestoreSettingsBase
IRestore.RestoreSettings
IRestore.RunRestore()
IHasArtifacts.ArtifactsDirectory
IHasArtifacts.ArtifactsDirectoryOrDefault
INukeBuild.ReportSummary(Configure<Dictionary<string, string>>)
INukeBuild.TryGetValue<T>(Expression<Func<T>>)
INukeBuild.TryGetValue<T>(Expression<Func<object>>)
INukeBuild.ExecutionPlan
INukeBuild.InvokedTargets
INukeBuild.SkippedTargets
INukeBuild.ScheduledTargets
INukeBuild.RunningTargets
INukeBuild.AbortedTargets
INukeBuild.FailedTargets
INukeBuild.SucceededTargets
INukeBuild.FinishedTargets
INukeBuild.IsSucceeding
INukeBuild.IsFailing
INukeBuild.IsFinished
INukeBuild.ExitCode
INukeBuild.RootDirectory
INukeBuild.TemporaryDirectory
INukeBuild.BuildAssemblyFile
INukeBuild.BuildAssemblyDirectory
INukeBuild.BuildProjectDirectory
INukeBuild.BuildProjectFile
INukeBuild.Verbosity
INukeBuild.Host
INukeBuild.Plan
INukeBuild.Help
INukeBuild.NoLogo
INukeBuild.IsLocalBuild
INukeBuild.IsServerBuild
INukeBuild.Continue
INukeBuild.Partition
Namespace: Microsoft.XboxStudios.NukeExt
Assembly: NukeExt.Components.dll
Syntax
public interface IReportCoverage : ITest, ICompile, IHasGitVersion, IRestore, IHasArtifacts, INukeBuild

Properties

View Source

CodeCoverageDirectory

Gets the custom directory to output code coverage results, if any.

Declaration
AbsolutePath? CodeCoverageDirectory { get; }
Property Value
Type Description
AbsolutePath
View Source

CodeCoverageDirectoryOrDefault

Gets the directory to output code coverage results.

Declaration
AbsolutePath CodeCoverageDirectoryOrDefault { get; }
Property Value
Type Description
AbsolutePath
View Source

ConvertTestCoverage

Gets the target to convert code coverage results to Cobertura format.

Declaration
Target ConvertTestCoverage { get; }
Property Value
Type Description
Target
View Source

Coverage

Gets the target to output code coverage results.

Declaration
Target Coverage { get; }
Property Value
Type Description
Target
View Source

Coverlet

Gets the test collector for coverlet.

Declaration
public static string Coverlet { get; }
Property Value
Type Description
string
View Source

VSTest

Gets the test collector for VSTest.

Declaration
public static string VSTest { get; }
Property Value
Type Description
string
View Source

ViewCoverageReport

Gets the target to view code coverage results.

Declaration
Target ViewCoverageReport { get; }
Property Value
Type Description
Target

Methods

View Source

RunConvertAndPublishTestCoverage(string?, params ReportTypes[])

Converts and publishes coverage results.

Declaration
void RunConvertAndPublishTestCoverage(string? testCollect = null, params ReportTypes[] reportTypes)
Parameters
Type Name Description
string testCollect

The test collector.

ReportTypes[] reportTypes

The report types to create.

Extension Methods

NukeBuildExtensions.IsInterceptorExecution(INukeBuild)
  • View Source
In this article
Back to top Generated by DocFX