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 e70bec97b4 Merge branch '2.7' into 2.8
* 2.7:
  [2.7] Clean deprecated interfaces
  use new repo location in some readme.md
  [Validator] Cleanup a test
2015-09-06 10:37:06 +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.6 2015-06-04 22:11:39 +02:00
composer.json Merge branch '2.7' into 2.8 2015-05-12 17:16:46 +02:00
Cookie.php fix CS 2015-07-05 16:01:47 +02:00
CookieJar.php Docblock fixes 2014-11-30 13:33:44 +00: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 [2.3] require-dev PHPUnit bridge 2015-02-24 11:24:26 +01:00
README.md use new repo location in some readme.md 2015-09-03 22:55:07 +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 [2.3] Static Code Analysis for Components 2015-03-12 18:51:57 +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 install
$ phpunit