Daniel ab1334c0cf the whole shebang | il y a 10 ans | |
---|---|---|
.. | ||
Tests | il y a 10 ans | |
.gitignore | il y a 10 ans | |
CHANGELOG.md | il y a 10 ans | |
Client.php | il y a 10 ans | |
Cookie.php | il y a 10 ans | |
CookieJar.php | il y a 10 ans | |
History.php | il y a 10 ans | |
LICENSE | il y a 10 ans | |
README.md | il y a 10 ans | |
Request.php | il y a 10 ans | |
Response.php | il y a 10 ans | |
composer.json | il y a 10 ans | |
phpunit.xml.dist | il y a 10 ans |
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.
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