Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

phpspec/Symfony2Extension

Repository files navigation

Symfony2 Extension [deprecated]

Build Status

Symfony2 extension for PhpSpec. The extension is pretty much dead. Since we aim on writing code decoupled from the framework, PhpSpec works very well without a special extension for Symfony.

There were only two features provided by this extension - stubbing the container and generating specs in a bundle.

Stubbing the container is a bad practice. The only place we might need to access the container is a controller. It's prefered to register the controller as a service, so stubbing it is not needed.

Placing specs in a bundle is not a recommended way either. It's cleaner to have all specs in a single folder.

About

Symfony2 extension for PhpSpec

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published