PHP Class Commando\Test\CommandTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: nategood/commando

Public Methods

Method Description
testBooleanOption ( )
testCommandoAnon ( )
testCommandoFlag ( )
testGetValues ( )
testImplicitAndExplicitParse ( )
testIncrementOption ( )
testIncrementOptionMaxValue ( )
testRequirementsOnOptionsMissing ( ) Test that an exception is thrown when an option isn't set
testRequirementsOnOptionsValid ( ) Ensure that requirements are resolved correctly
testRetrievingOptionAnon ( ) Test retrieving a previously defined option via option($name)
testRetrievingOptionNamed ( ) Test retrieving a previously defined option via option($name)

Method Details

testBooleanOption() public method

public testBooleanOption ( )

testCommandoAnon() public method

public testCommandoAnon ( )

testCommandoFlag() public method

public testCommandoFlag ( )

testGetValues() public method

public testGetValues ( )

testImplicitAndExplicitParse() public method

testIncrementOption() public method

public testIncrementOption ( )

testIncrementOptionMaxValue() public method

testRequirementsOnOptionsMissing() public method

Test that an exception is thrown when an option isn't set

testRequirementsOnOptionsValid() public method

Ensure that requirements are resolved correctly

testRetrievingOptionAnon() public method

Test retrieving a previously defined option via option($name)

testRetrievingOptionNamed() public method

Test retrieving a previously defined option via option($name)