Bachir Soussi Chiadmi 58f46e4e8f caore d8 files | %!s(int64=8) %!d(string=hai) anos | |
---|---|---|
.. | ||
.gitignore | %!s(int64=8) %!d(string=hai) anos | |
CHANGELOG.md | %!s(int64=8) %!d(string=hai) anos | |
Client.php | %!s(int64=8) %!d(string=hai) anos | |
Cookie.php | %!s(int64=8) %!d(string=hai) anos | |
CookieJar.php | %!s(int64=8) %!d(string=hai) anos | |
History.php | %!s(int64=8) %!d(string=hai) anos | |
LICENSE | %!s(int64=8) %!d(string=hai) anos | |
README.md | %!s(int64=8) %!d(string=hai) anos | |
Request.php | %!s(int64=8) %!d(string=hai) anos | |
Response.php | %!s(int64=8) %!d(string=hai) anos | |
composer.json | %!s(int64=8) %!d(string=hai) anos | |
phpunit.xml.dist | %!s(int64=8) %!d(string=hai) anos |
BrowserKit simulates the behavior of a web browser.
The component only provides 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 install
$ phpunit