Show / Hide Table of Contents

Interface ITestDotNetTemplates

A build which tests .NET templates.

Inherited Members
ICreateDotNetTemplates.TemplatePackageID
ICreateDotNetTemplates.TemplateTag
ICreateDotNetTemplates.CleanNuGet
ICreateDotNetTemplates.UninstallNuGet
ICreateDotNetTemplates.InstallNuGet
ICreateDotNetTemplates.RunUninstallNuGet(string, string)
ICreateDotNetTemplates.RunInstallNuGet()
IPack.NuGetDirectory
IPack.NuGetDirectoryOrDefault
IPack.AddFeatureBranchNameToVersion
IPack.Pack
IPack.SetFeatureBranchVersionTag
IPack.PackSettingsBase
IPack.AutoFeatureBranchVersionTag
IPack.PackSettings
IPack.RunPack()
IPack.RunSetFeatureBranchVersionTag()
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 ITestDotNetTemplates : ICreateDotNetTemplates, IPack, ITest, ICompile, IHasGitVersion, IRestore, IHasArtifacts, INukeBuild

Properties

View Source

GenerateTemplate

Gets the target to generate the .NET templates.

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

TestTemplates

Gets the target to test the generated .NET templates.

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

Methods

View Source

DotNetNew(string, string, Func<IEnumerable<string>, IEnumerable<string>>)

Runs the dotnet new command.

Declaration
public static void DotNetNew(string templateName, string output, Func<IEnumerable<string>, IEnumerable<string>> args)
Parameters
Type Name Description
string templateName

The .NET template.

string output

The output folder.

Func<IEnumerable<string>, IEnumerable<string>> args

A function to modify the arguments.

View Source

DotNetRaw(string)

Runs a dotnet command. Note this may be unnecessary once Nuke 7.0.2 is merged.

Declaration
public static void DotNetRaw(string arguments)
Parameters
Type Name Description
string arguments

The command arguments.

View Source

PrepareToRunTest()

Installs and generates templates for testing.

Declaration
void PrepareToRunTest()
View Source

RunCI()

Runs the continuous integration targets to restore and compile.

Declaration
void RunCI()
View Source

RunGenerateTemplate()

Generates templates for testing.

Declaration
void RunGenerateTemplate()
View Source

RunTestTemplates()

Tests the generated templates.

Declaration
void RunTestTemplates()

Extension Methods

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