You must first sign up to be able to contribute.

New Lime Testing Framework

General Information

This page is to serve as a source of information and examples pertaining to the new Lime testing framework for use before the official documentation is released. Lime works on both Windows and Linux but the output is colored in Linux, and thus, easier to read. Whenever you create a new module using the symfony init-module command, a modulenameActionsTest.php file is created in test/functional/yourapp

To test your project and retrieve summary information

symfony test-functional frontend

To test a specific file (assumes you have a file, test/functional/frontend/userActionsTest.php)

symfony test-functional frontend userActions

Other relevant commands

symfony test-unit
symfony test-all

Code Examples

Symfony trunk

Relevant API Docs