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-03-12 16:50:09 +01:00
..
Tests [BrowserKit] added ability to ignored malformed set-cookie header 2013-03-12 16:50:09 +01: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 Removed useless use statements 2012-06-14 09:54:43 +02:00
composer.json Removed useless branch alias for dev-master in composer.json 2012-12-06 11:00:55 +01:00
Cookie.php Expanded fault-tolerance for unusual cookie dates 2013-02-22 07:39:07 +01:00
CookieJar.php [BrowserKit] added ability to ignored malformed set-cookie header 2013-03-12 16:50:09 +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 [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