Symfony\Bundle\FrameworkBundle\Test\WebTestCase
WebTestCase is the base class for functional tests.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class WebTestCase
extends PHPUnit_Framework_TestCase
{
- // methods
- protected static Client createClient()
- protected static string getPhpUnitXmlDir()
- private static string getPhpUnitCliConfigArgument()
- protected static string getKernelClass()
- protected static HttpKernelInterface createKernel()
- protected void tearDown()
Hierarchy
Extends
Members
protected
- $class
- $kernel
Methods
private
- getPhpUnitCliConfigArgument() — Finds the value of the CLI configuration option.
protected
- createClient() — Creates a Client.
- createKernel() — Creates a Kernel.
- getKernelClass() — Attempts to guess the kernel location.
- getPhpUnitXmlDir() — Finds the directory where the phpunit.xml(.dist) is stored.
- tearDown() — Shuts the kernel down if it was used in the test.