Show / Hide Table of Contents

Interface ITest

Targets and configuration for executing unit tests in the solution.

Inherited Members
IHasArtifacts.ArtifactsDirectory
ICompile.Compile
ICompile.CompileSettingsBase
ICompile.PublishSettingsBase
ICompile.CompileSettings
ICompile.PublishSettings
ICompile.PublishConfigurations
ICompile.PublishDegreeOfParallelism
IRestore.Restore
IRestore.RestoreSettingsBase
IRestore.RestoreSettings
IRestore.IgnoreFailedSources
IClean.CleanArtifactsDirectory
IClean.Clean
IHasSolution.Solution
IHasConfiguration.Configuration
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: Hexagrams.Nuke.Components
Assembly: Hexagrams.Nuke.Components.dll
Syntax
public interface ITest : IHasArtifacts, ICompile, IRestore, IClean, IHasSolution, IHasConfiguration, INukeBuild

Properties

| Edit this page View Source

Test

Execute unit tests in the solution using dotnet test.

Declaration
Target Test { get; }
Property Value
Type Description
Target
| Edit this page View Source

TestDegreeOfParallelism

The degree of parallelism to use when executing tests. Defaults to 1.

Declaration
int TestDegreeOfParallelism { get; }
Property Value
Type Description
int
| Edit this page View Source

TestProjectSettings

Additional settings for configuring test projects.

Declaration
Configure<DotNetTestSettings, Project> TestProjectSettings { get; }
Property Value
Type Description
Configure<DotNetTestSettings, Project>
| Edit this page View Source

TestProjectSettingsBase

Settings for configuring test projects.

Declaration
Configure<DotNetTestSettings, Project> TestProjectSettingsBase { get; }
Property Value
Type Description
Configure<DotNetTestSettings, Project>
| Edit this page View Source

TestProjects

The collection of projects that contain tests.

Declaration
IEnumerable<Project> TestProjects { get; }
Property Value
Type Description
IEnumerable<Project>
| Edit this page View Source

TestResultDirectory

The test results output directory.

Declaration
AbsolutePath TestResultDirectory { get; }
Property Value
Type Description
AbsolutePath
| Edit this page View Source

TestSettings

Additional settings for controlling test execution behavior.

Declaration
Configure<DotNetTestSettings> TestSettings { get; }
Property Value
Type Description
Configure<DotNetTestSettings>
| Edit this page View Source

TestSettingsBase

Settings for controlling test execution behavior.

Declaration
Configure<DotNetTestSettings> TestSettingsBase { get; }
Property Value
Type Description
Configure<DotNetTestSettings>

Extension Methods

ToolSettingsExtensions.WhenNotNull<T, TObject>(T, TObject, Func<T, TObject, T>)
ComponentExtensions.FromComponent<TComponent>(INukeBuild)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX