he folks,

i started to migrating from lime to phpunit.
the integration worked well so far, thanks to the great
sfPHPUnit2Plugin...
all tests passes.

also read my blogpost about extending the phpunit functional test to
be able to extend your browser and test class (http://digitalkaoz.net/
2010/06/make-phpunit-functional-tests-extendable/)

but i cannot get the testoutput tap conform.
if i run my phpunit tests suite...

phpunit --tap test/phpunit/functional/admin/fooActionsTest.php

i got
Fatal error: Cannot redeclare class sfYamlInline in /path/to/project/
lib/vendor/symfony/lib/yaml/sfYamlInline.php on line 22

i think phpunit needs yaml for the tap output generation, and phpunit
loads the yaml component first, and when symfony comes in play,
symfony tries to load its own yaml component.

bad :(

someone has an idea how to resolve this, without touching symfony or
phpunit sources?

thanks
robert

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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