2017 © Pedro Peláez
 

library n-browser-kit

Implementation of Symfony's BrowserKit for Nette applications.

image

vaclav-sir/n-browser-kit

Implementation of Symfony's BrowserKit for Nette applications.

  • Wednesday, April 19, 2017
  • by VaclavSir
  • Repository
  • 1 Watchers
  • 2 Stars
  • 18,480 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 12 Versions
  • 2 % Grown

The README.md

NBrowserKit

Build Status Current version, (*1)

This package implements Symfony's BrowserKit Client for use with a Nette application., (*2)

Usage


$client = new Client; $client->setContainer($container); $client->request('GET', '/'); Assert::same(200, $client->getResponse()->getStatusCode()); Assert::contains('Hello World', $client->getResponse()->getContent());

You can find more examples in The Symfony Book., (*3)

Example of usage with Nette and Nette Tester: https://github.com/VaclavSir/NBrowserKit-example, (*4)

Running Tests

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


composer install --dev vendor/bin/tester tests

The Versions

19/04 2017

dev-feature/nette-3.0-passing-tests

dev-feature/nette-3.0-passing-tests http://github.com/VaclavSir/NBrowserKit

Implementation of Symfony's BrowserKit for Nette applications.

  Sources   Download

MIT

The Requires

 

The Development Requires

19/04 2017