Hi Matthias,

If you want to execute particular tests, you can just execute them
from the console using "php". E.g.
$ php plugins/myPlugin/test/unit/myClassTest.php

If you want to execute sets of tests, you have to create PHP files
that execute these sets, and then execute these PHP files. The symfony
libraries, for example, ship the file test/bin/prove.php[1] which is
the equivalent to the task test:all. You can copy this file to a file
plugins/myPlugin/test/bin/myTestGroup.php and modify it to your needs.
Then you just execute it on the shell:
$ php plugins/myPlugin/test/bin/myTestGroup.php

An alternative to the above ways is to install a patch by Klemens
Ullmann and myself that extends the test:xxx tasks to handle plugin
tests. You can find the patch at
http://trac.symfony-project.org/ticket/4873

If you want further information about best practices regarding plugin
testing, I recommend to read
http://groups.google.com/group/symfony-devs/browse_thread/thread/5c38ea3cc619c6fd?hl=en
http://trac.symfony-project.org/wiki/PluginTesting


Bernhard

[1] http://trac.symfony-project.org/browser/branches/1.3/test/bin/prove.php

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to