Overview

Command to run a Solar test series.

Examples

./script/solar run-tests Test_Vendor_Class

runs all methods for the test class and its subdirectories

./script/solar run-tests Test_Vendor_Class --only

runs all methods for the one test class (no subdirectories)

./script/solar run-tests Test_Vendor_Class::testMethod

runs all methods starting with "testMethod" for the test class and its subdirectories

./script/solar run-tests Test_Vendor_Class::testMethod --only

runs only the one Test_Vendor_Class::testMethod() and no others

Package

This class is part of the Solar_Cli package.

Inheritance:

Configuration Keys

None.

Constants

None.

Public Properties

The Solar_Cli_RunTests class has no public properties; try the list of all properties.

Public Methods

These are all the public methods in the Solar_Cli_RunTests class.

You can also view the list of all public, protected, and private methods.

__construct()

Constructor.

__destruct()

Destructor; closes STDOUT and STDERR file handles.

dump()

Convenience method for getting a dump the whole object, or one of its properties, or an external variable.

exec()

Public interface to execute the command.

getInfoHelp()

Returns the help text for this command.

getInfoOptions()

Returns an array of option flags and descriptions for this command.

locale()

Looks up class-specific locale strings based on a key.

setConsoleController()

Injects the console-controller object (if any) that invoked this command.



Local