This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/BrowserKit
Fabien Potencier d5bd9bdd68 Merge branch '2.3' into 2.4
* 2.3:
  fixed types in phpdocs

Conflicts:
	src/Symfony/Bridge/Twig/TwigEngine.php
	src/Symfony/Bundle/FrameworkBundle/Templating/Loader/FilesystemLoader.php
	src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
	src/Symfony/Component/Form/Extension/Core/ChoiceList/SimpleChoiceList.php
	src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php
	src/Symfony/Component/HttpKernel/Controller/ControllerResolverInterface.php
	src/Symfony/Component/PropertyAccess/PropertyAccessorBuilder.php
	src/Symfony/Component/Serializer/Encoder/XmlEncoder.php
	src/Symfony/Component/Stopwatch/StopwatchEvent.php
	src/Symfony/Component/Templating/PhpEngine.php
2014-04-16 12:34:31 +02:00
..
Tests Merge branch '2.3' into 2.4 2014-04-10 15:00:56 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md [BrowserKit] should not follow redirects if status code is not 30x 2013-05-15 17:16:46 +02:00
Client.php Merge branch '2.3' into 2.4 2014-04-16 10:02:57 +02:00
composer.json updated version to 2.4 2013-05-16 09:54:39 +02:00
Cookie.php fixed types in phpdocs 2014-04-16 12:30:19 +02:00
CookieJar.php made phpdoc types consistent with those defined in Hack 2014-04-15 07:41:45 +02:00
History.php Merge branch '2.3' into 2.4 2014-04-16 12:34:31 +02:00
LICENSE update year on licenses 2014-01-07 08:19:25 -05:00
phpunit.xml.dist made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
README.md updated the composer install command to reflect changes in Composer 2013-09-18 09:27:26 +02:00
Request.php CS Fixes - Replaced "array of type" by "Type[]" in PHPDoc block 2012-11-19 13:58:52 +01:00
Response.php fixed types in phpdocs 2014-04-16 12:30:19 +02:00

BrowserKit Component

BrowserKit simulates the behavior of a web browser.

The component only provide an abstract client and does not provide any "default" backend for the HTTP layer.

Resources

For a simple implementation of a browser based on an HTTP layer, have a look at Goutte.

For an implementation based on HttpKernelInterface, have a look at the Client provided by the HttpKernel component.

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/BrowserKit/
$ composer.phar install
$ phpunit