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 62)
RunnableTest | --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::$_reporter
Inherited from RunnableTest
RunnableTest::$_label
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.
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::assertExpectation()
SimpleTestCase::assertFalse()
SimpleTestCase::assertTrue()
SimpleTestCase::dump()
SimpleTestCase::error()
SimpleTestCase::fail()
SimpleTestCase::getAssertionLine()
SimpleTestCase::invoke()
SimpleTestCase::pass()
SimpleTestCase::run()
SimpleTestCase::sendMessage()
SimpleTestCase::setUp()
SimpleTestCase::signal()
SimpleTestCase::swallowErrors()
SimpleTestCase::tearDown()
SimpleTestCase::_createRunner()
SimpleTestCase::_isConstructor()
SimpleTestCase::_isTest()
Inherited From RunnableTest
RunnableTest::RunnableTest()
RunnableTest::getLabel()
RunnableTest::getSize()
RunnableTest::run()
Documentation generated on Fri, 10 Dec 2004 18:26:19 +0000 by phpDocumentor 1.3.0RC3