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 fc40e53724 Revert "merged branch jfsimon/issue-4475 (PR #4497)"
This reverts commit f8a09db5e2, reversing
changes made to ae2ec36e27.
2012-06-09 21:38:22 +02:00
..
Tests [BrowserKit] Remove dependency of CookieJar to Response 2012-05-03 12:58:56 +02:00
.gitignore [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
CHANGELOG.md Revert "merged branch jfsimon/issue-4475 (PR #4497)" 2012-06-09 21:38:22 +02:00
Client.php Revert "merged branch jfsimon/issue-4475 (PR #4497)" 2012-06-09 21:38:22 +02:00
composer.json updated minimum PHP version to 5.3.3 2012-05-07 10:29:11 +02:00
Cookie.php fixed phpdoc @param alignment 2012-05-15 22:19:31 +02:00
CookieJar.php fixed phpdoc @param alignment 2012-05-15 22:19:31 +02:00
History.php replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
LICENSE Updated LICENSE files copyright 2012-02-22 10:10:37 +01:00
phpunit.xml.dist [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
README.md [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
Request.php [BrowserKit] tagged the guaranteed BC API 2011-03-24 09:25:46 +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:

phpunit

If you also want to run the unit tests that depend on other Symfony Components, install dev dependencies before running PHPUnit:

php composer.phar install --dev