0.5releasedSymphony Tests
Easy unit testing support for Symphony.
Clone URLhttps://github.com/symphonists/symphony_tests.git
Add as a submodulegit submodule add https://github.com/symphonists/symphony_tests.git extensions/symphony_tests --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | 0.3 | 0.4 | No | No | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
Symphony Tests
The Symphony Tests extension is a Symphony frontend for the [SimpleTest][http://simpletest.org/en/start-testing.html] unit testing framework.
Installation
- Upload the
symphony_tests
folder in this archive to your Symphony/extensions
folder. - Enable it by selecting the "Symphony Tests" extension, choose Enable from the with-selected menu, then click Apply.
- Browse to System > Tests to view any unit tests currently installed.
Adding unit tests
You can write your own unit tests, just put your standard unit test class in:
workspace/tests/test.classname.php
symphony/tests/test.classname.php
extensions/yourextension/tests/test.classname.php
You also need to prefix your class name with SymphonyTest
. Take a look in the tests/test.google-symphony.php
file for a basic test example.
Version history
Requires Symphony 2.3.2
- Updates for Symphony 2.3.2
- New UI for Symphony 2.3
- Updated SimpleTest library to 1.1.0
Requires Symphony 2.3
Symphony 2.2 to 2.2.5