10.2.3 Running Test Suites

The test suite options allow you to run part or all of the Command Control test suites.

Syntax: ./unifi -n cmdctrl runTest [option]

If you have not mapped your local account to a Framework Manager user, replace the -n option with -u <username> -p <password> options and specify the name and password of a Framework Manager user who has the rights to perform this task.

Replace [option] with one or more of the following:

Option

Description

-t <'arg'>

Specifies a specific test suite to run. Replace <arg> with the name of the test suite. This option cannot be used with the -A option

-A

Runs all the test suites. This option cannot be used with the -t option.

-v

Outputs the full debug information to the screen.

-V <file>

Outputs the full debug information to the specified file or the specified path and file.

-o <file>

Outputs the test results to the specified file or the specified path and file.

For example:

./unifi -u admin cmdctrl runTest -A -o /tmp/test.log

This command writes the results of the test suites to the test.log file in the /tmp directory.