Class CreateUnitTestFileCommand
Create an unit test script locally.
Inheritance
object
Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<THandler>Sitecore.CH.Cli.Plugin.Scripting.CommandHandlers.CreateUnitTestFileCommandHandler
CreateUnitTestFileCommand
Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.ScriptingCommands
Assembly: Sitecore.CH.Cli.Plugin.Scripting.dll
Syntax
RequestResponse
public class CreateUnitTestFileCommand : BaseCommand<CreateUnitTestFileCommandHandler>
Remarks
Optional parameters
--folder -f
Specifies the working directory that contains the script files. If the --folder option is not specified, the current folder is assumed to be the working directory.
Global parameters
-? --help -h
Show this help message and exit.-v --verbosity
Enables verbose logging.
Examples
Creates a local unit test script:
RequestResponse
ch-cli scripting create unit-test