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
2013-04-24 22:00:56 +02:00
..
Tests alternate fix where we had accessor for the BrowerKit request/response instances 2013-04-24 22:00:56 +02:00
.gitignore made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
CHANGELOG.md alternate fix where we had accessor for the BrowerKit request/response instances 2013-04-24 22:00:56 +02:00
Client.php alternate fix where we had accessor for the BrowerKit request/response instances 2013-04-24 22:00:56 +02:00
composer.json Merge branch '2.2' 2013-02-11 11:09:44 +01:00
Cookie.php Merge branch '2.1' into 2.2 2013-04-20 21:05:29 +02:00
CookieJar.php Merge branch '2.1' into 2.2 2013-03-15 11:14:31 +01:00
History.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
LICENSE updated license year 2013-01-04 17:59:43 +01:00
phpunit.xml.dist made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
README.md made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
Request.php CS Fixes - Replaced "array of type" by "Type[]" in PHPDoc block 2012-11-19 13:58:52 +01:00
Response.php [BrowserKit] tagged the guaranteed BC API 2011-03-24 09:25:46 +01: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 --dev
$ phpunit