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