2017 © Pedro Peláez
 

library symfony2-mocker-extension

Behat extension for mocking services defined in the Symfony2 dependency injection container.

image

polishsymfonycommunity/symfony2-mocker-extension

Behat extension for mocking services defined in the Symfony2 dependency injection container.

  • Friday, March 4, 2016
  • by jakzal
  • Repository
  • 2 Watchers
  • 29 Stars
  • 108,242 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 6 Versions
  • 5 % Grown

The README.md

Symfony2 Mocker Extension

Build Status, (*1)

Behat extension for mocking services defined in the Symfony2 dependency injection container., (*2)

This extension was always a hack. For a better approach try https://github.com/docteurklein/TestDoubleBundle., (*3)

Use it sparingly. Mocking a service container is not a good practice. Most of the time if there's a need for this, the problem can be better solved by improving the design instead., (*4)

Internally it uses Mockery and SymfonyMockerContainer., (*5)

Documentation

Official documentation, (*6)

The Versions

04/03 2016

dev-master

9999999-dev http://symfonylab.pl

Behat extension for mocking services defined in the Symfony2 dependency injection container.

  Sources   Download

MIT

The Requires

 

bdd tdd test mock mockery behat

04/03 2016