---
title: "Class IntegrationTestCommand"
slug: "cli--sitecore.ch.cli.plugin.scripting.commands.integrationtestcommand"
abstract: ""
---
# Class IntegrationTestCommand

Executes script integration tests.

## Inheritance

object

System.CommandLine.Symbol

System.CommandLine.IdentifierSymbol

[Command](https://learn.microsoft.com/dotnet/api/system.commandline.command)

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand

Sitecore.CH.Cli.Core.Abstractions.Commands.BaseCommand<THandler>Sitecore.CH.Cli.Plugin.Scripting.CommandHandlers.IntegrationTestCommandHandler

IntegrationTestCommand

## Namespace: SitecoreSitecore.CHSitecore.CH.CliSitecore.CH.Cli.PluginSitecore.CH.Cli.Plugin.ScriptingCommands

## Assembly: Sitecore.CH.Cli.Plugin.Scripting.dll

## Syntax

```csharp
public sealed class IntegrationTestCommand : BaseCommand<IntegrationTestCommandHandler>
```

## Remarks

**Optional parameters**

- `--name -n` Specified the name of the script to execute integration tests for.
- `--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

Executes all tests:

```csharp
ch-cli scripting integration-test
```

Executes one tests:

```csharp
ch-cli scripting integration-test --name "<script name>"
```
