Implementation of Symfony's BrowserKit for Nette applications.

v1.1.0 2017-04-19 08:38 UTC


Shippable CircleCI Current version

This package implements Symfony's BrowserKit Client for use with a Nette application.


	$client = new Client;

	$client->request('GET', '/');

	Assert::same(200, $client->getResponse()->getStatus());
	Assert::contains('Hello World', $client->getResponse()->getContent());

You can find more examples in The Symfony Book.

Example of usage with Nette and Nette Tester:

Running Tests

Tests for this package are written using Nette Tester library. You can run them easily from the command line:

	composer install --dev
	vendor/bin/tester tests