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 5f889525f6 Merge branch '2.2'
* 2.2:
  [BrowserKit] fixed BC break done recently
  [Process] Fix #5594 : `termsig` must be used instead of `stopsig` in exceptions when a process is signaled
  [Console] find command even if its name is a namespace too (closes #7860)
  Rename misprint property (from warmer to finder)
  Reset all catalogues when adding resource to fallback locale (#7715, #7819)
  Added reloading of fallback catalogues when calling addResource() (#7715)
  Re-added context information to log list
  Add This field is missing RU translation

Conflicts:
	src/Symfony/Component/Console/Tests/ApplicationTest.php
2013-04-30 09:16:44 +02:00
..
Tests [BrowserKit] isolated the max redirect count to a given main request (refs #7811) 2013-04-25 12:35:08 +02:00
.gitignore made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
CHANGELOG.md made some small tweaks 2013-04-25 08:21:47 +02:00
Client.php [BrowserKit] isolated the max redirect count to a given main request (refs #7811) 2013-04-25 12:35:08 +02:00
composer.json Merge branch '2.2' 2013-02-11 11:09:44 +01:00
Cookie.php Merge branch '2.1' into 2.2 2013-04-20 21:05:29 +02:00
CookieJar.php Merge branch '2.1' into 2.2 2013-04-30 09:15:50 +02: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 made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
README.md made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
Request.php CS Fixes - Replaced "array of type" by "Type[]" in PHPDoc block 2012-11-19 13:58:52 +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:

$ cd path/to/Symfony/Component/BrowserKit/
$ composer.phar install --dev
$ phpunit