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 da655a9368 Merge branch '2.3' into 2.7
* 2.3:
  Typo fix
  [2.3] Static Code Analysis for Components
  Added support \IteratorAggregate for UniqueEntityValidator
  Fix #17306 Paths with % in it are note allowed (like urlencoded)
  Added sort order SORT_STRING for params in UriSigner
  Remove normalizer cache in Serializer class
2016-01-12 18:44:11 +01:00
..
Tests improve BrowserKit test coverage p1 2015-12-18 18:35:00 +01: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.7 2016-01-12 18:44:11 +01:00
composer.json Merge branch '2.3' into 2.7 2015-10-30 13:10:21 -07:00
Cookie.php remove api tags from code 2015-09-28 19:11:22 +02:00
CookieJar.php remove api tags from code 2015-09-28 19:11:22 +02:00
History.php Merge branch '2.3' into 2.5 2014-12-02 21:15:53 +01:00
LICENSE Update copyright year 2016-01-01 23:53:47 -03:00
phpunit.xml.dist Add missing exclusions from phpunit.xml.dist 2015-11-18 09:19:46 +01:00
README.md Make Proper English 2015-09-28 09:26:52 +02:00
Request.php remove api tags from code 2015-09-28 19:11:22 +02:00
Response.php remove api tags from code 2015-09-28 19:11:22 +02:00

BrowserKit Component

BrowserKit simulates the behavior of a web browser.

The component only provides 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 install
$ phpunit