# Module: integrationTests

Contains all of the commands to test various components of the system.

Author:
  - Seth Hollingsead
Copyright:
  - Copyright © 2022-… by Seth Hollingsead. All rights reserved
Source:
  - commandsBlob/commands/integrationTests.js, line 1

### Requires

- module:commandBroker
- module:ruleBroker
- module:workflowBroker
- module:colorizer
- module:configurator
- module:loggers
- module:data
- @haystacks/constants
- path

### Methods

#### (inner) validateCommandAliases(inputData, inputMetaData) → {array.<boolean, (string|integer|boolean|object|array)>}

Validates all command aliases have no duplicates within a command, but also between commands.

##### Parameters:

Name | Type | Description
--- | --- | ---
`inputData` | string | Not used for this command.
`inputMetaData` | string | Not used for this command.

Author:
  - Seth Hollingsead
Source:
  - commandsBlob/commands/integrationTests.js, line 113

##### Returns:

An array with a boolean True or False value to indicate if the application should exit or not exit, followed by the command output.

Type
  array.<boolean, (string|integer|boolean|object|array)>

#### (inner) validateConstants(inputData, inputMetaData) → {array.<boolean, (string|integer|boolean|object|array)>}

Validates all constants with a 2-phase verification process.

##### Parameters:

Name | Type | Description
--- | --- | ---
`inputData` | string | Not used for this command.
`inputMetaData` | string | Not used for this command.

Author:
  - Seth Hollingsead
Source:
  - commandsBlob/commands/integrationTests.js, line 36

##### Returns:

An array with a boolean True or False value to indicate if the application should exit or not exit, followed by the command output.

Type
  array.<boolean, (string|integer|boolean|object|array)>

#### (inner) validateWorkflows(inputData, inputMetaData) → {array.<boolean, (string|integer|boolean|object|array)>}

Validates all the workflows have no duplicates.

##### Parameters:

Name | Type | Description
--- | --- | ---
`inputData` | string | Not used for this command.
`inputMetaData` | string | Not used for this command.

Author:
  - Seth Hollingsead
Source:
  - commandsBlob/commands/integrationTests.js, line 183

##### Returns:

An array with a boolean True or False value to indicate if the application should exit or not exit, followed by the command output.

Type
  array.<boolean, (string|integer|boolean|object|array)>