Skip to content

PolishSymfonyCommunity/Symfony2MockerExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony2 Mocker Extension

Build Status

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

This extension was always a hack. For a better approach try https://github.com/docteurklein/TestDoubleBundle.

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.

Internally it uses Mockery and SymfonyMockerContainer.

Documentation

Official documentation

About

Behat extension for mocking services defined Symfony2 dependency injection container

Resources

License

Stars

Watchers

Forks

Packages

No packages published