5f889525f6
* 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 |
||
---|---|---|
.. | ||
Tests | ||
.gitignore | ||
CHANGELOG.md | ||
Client.php | ||
composer.json | ||
Cookie.php | ||
CookieJar.php | ||
History.php | ||
LICENSE | ||
phpunit.xml.dist | ||
README.md | ||
Request.php | ||
Response.php |
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