Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way.
Located in /libraries/pear/simpletest/shell_tester.php (line 71)
SimpleTestCase | --ShellTestCase
Class | Description |
---|---|
![]() |
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way. |
![]() |
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way. |
![]() |
Test case for testing of command line scripts and utilities. Usually scripts taht are external to the PHP code, but support it in some way. |
Inherited from SimpleTestCase
SimpleTestCase::$_label
SimpleTestCase::$_runner
Creates an empty test case. Should be subclassed with test methods for a functional test case.
Tests the last status code from the shell.
File existence check.
File non-existence check.
Scans a file for a Perl regex. If found anywhere it passes, else it fails.
If a Perl regex is found anywhere in the named file then a failure is generated, else a pass.
If a Perl regex is found anywhere in the current output then a failure is generated, else a pass.
Attempt to exactly match the combined STDERR and STDOUT output.
Scans the output for a Perl regex. If found anywhere it passes, else it fails.
Dumps the output of the last command.
Executes a command and buffers the results.
Accessor for the last output.
Accessor for the last output.
Factory for the shell to run the command on.
Accessor for current shell. Used for testing the the tester itself.
Inherited From SimpleTestCase
SimpleTestCase::SimpleTestCase()
SimpleTestCase::after()
SimpleTestCase::assertExpectation()
SimpleTestCase::assertFalse()
SimpleTestCase::assertTrue()
SimpleTestCase::before()
SimpleTestCase::dump()
SimpleTestCase::error()
SimpleTestCase::fail()
SimpleTestCase::getAssertionLine()
SimpleTestCase::getLabel()
SimpleTestCase::getSize()
SimpleTestCase::pass()
SimpleTestCase::run()
SimpleTestCase::sendMessage()
SimpleTestCase::setUp()
SimpleTestCase::signal()
SimpleTestCase::swallowErrors()
SimpleTestCase::tearDown()
SimpleTestCase::_createRunner()
Documentation generated on Fri, 11 Feb 2005 18:13:59 +0000 by phpDocumentor 1.3.0RC3