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
Nicolas Grekas f30ae9a9bb Merge branch '2.3' into 2.7
* 2.3:
  [ci] SymfonyTestsListener is now auto-registered
  adds validation messages missing italian translations
2015-10-11 11:39:48 +02:00
..
Tests bug #14785 [BrowserKit] Fix bug when uri starts with http. (amouhzi) 2015-06-01 17:27:09 +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.7 2015-09-29 14:06:14 +02:00
composer.json Merge branch '2.3' into 2.7 2015-10-10 11:26:25 +02: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 Updated copyright to 2015 2015-01-01 13:56:52 +01:00
phpunit.xml.dist Merge branch '2.3' into 2.7 2015-10-11 11:39:48 +02: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