Interface ITestDotNetTemplates
A build which tests .NET templates.
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 ITestDotNetTemplates : ICreateDotNetTemplates, IPack, ITest, ICompile, IHasGitVersion, IRestore, IHasArtifacts, INukeBuild
Properties
View SourceGenerateTemplate
Gets the target to generate the .NET templates.
Declaration
Target GenerateTemplate { get; }
Property Value
Type | Description |
---|---|
Target |
TestTemplates
Gets the target to test the generated .NET templates.
Declaration
Target TestTemplates { get; }
Property Value
Type | Description |
---|---|
Target |
Methods
View SourceDotNetNew(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. |
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. |
PrepareToRunTest()
Installs and generates templates for testing.
Declaration
void PrepareToRunTest()
RunCI()
Runs the continuous integration targets to restore and compile.
Declaration
void RunCI()
RunGenerateTemplate()
Generates templates for testing.
Declaration
void RunGenerateTemplate()
RunTestTemplates()
Tests the generated templates.
Declaration
void RunTestTemplates()