sfJwtPhpUnitPlugin - 1.0.7

Supercharged PHPUnit integration with Symfony projects

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to the Plugins Home


Forgot your password?
Create an account



advanced search
Information Readme Releases Changelog Contribute
Show source



sfJwtPhpUnitPlugin ("JPUP") was developed at JWT to assist in the development of several Symfony 1.4 projects.

JPUP boasts robust database handling (modeled loosely after Django's test framework and sfPhpUnitPlugin), unlimited extensibility over Symfony's sfBrowser class and user-friendly tasks for running collections of tests.

We found this plugin to be exceptionally useful for testing database-driven Symfony applications, and we wanted to share it with the Symfony community.

ANOTHER PHPUnit Plugin for Symfony?

Before embarking upon development for JPUP, we took a look around, and while we did discover a number of existing solutions that worked fantastically, we found that none of them quite met our needs.

The most critical problems we set out to solve with JPUP are:

  • Isolation from production data and files in a project.
  • Easy (but powerful!) data manipulation and fixture integration.
  • A port of sfBrowser that has sfTestFunctional's API but doesn't use Lime.
  • Using Symfony tasks to run multiple tests in one go.


JPUP was developed specifically for projects using Symfony 1.4 and Doctrine.

Propel is not currently supported.




See USAGE.md.


We welcome any and all suggestions, requests, (constructive) criticism, code, fixes, forks, success stories... in short, if you think it would improve the quality of JPUP (or at least make us feel good about it), we'd love to see it.