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