Interface IReportCoverage
A build which reports test coverage.
Inherited Members
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 SourceCodeCoverageDirectory
Gets the custom directory to output code coverage results, if any.
Declaration
AbsolutePath? CodeCoverageDirectory { get; }
Property Value
| Type | Description |
|---|---|
| AbsolutePath |
CodeCoverageDirectoryOrDefault
Gets the directory to output code coverage results.
Declaration
AbsolutePath CodeCoverageDirectoryOrDefault { get; }
Property Value
| Type | Description |
|---|---|
| AbsolutePath |
ConvertTestCoverage
Gets the target to convert code coverage results to Cobertura format.
Declaration
Target ConvertTestCoverage { get; }
Property Value
| Type | Description |
|---|---|
| Target |
Coverage
Gets the target to output code coverage results.
Declaration
Target Coverage { get; }
Property Value
| Type | Description |
|---|---|
| Target |
Coverlet
Gets the test collector for coverlet.
Declaration
public static string Coverlet { get; }
Property Value
| Type | Description |
|---|---|
| string |
VSTest
Gets the test collector for VSTest.
Declaration
public static string VSTest { get; }
Property Value
| Type | Description |
|---|---|
| string |
ViewCoverageReport
Gets the target to view code coverage results.
Declaration
Target ViewCoverageReport { get; }
Property Value
| Type | Description |
|---|---|
| Target |
Methods
View SourceRunConvertAndPublishTestCoverage(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. |