Little remark. My "symfony test:unit" output is:

[myPlugin] unit/myFirstTest...........................dubious
   Test returned status 255
   Failed tests: 0
[myPlugin] unit/mySecTest............................dubious
   Test returned status 255
   Failed tests: 0

> Hi all.
>
> I have next file structure:
>
> project
>  plugins
>    myPlugin
>      test
>        unit
>          myFirstTest.php
>          mySecTest.php
>
> I connected plugin in ProjectConfiguration.class.php:
> class ProjectConfiguration extends sfProjectConfiguration
> {
>  public function setup()
>  {
>    // for compatibility / remove and enable only the plugins you want
>    $this->enablePlugins(array('sfDoctrinePlugin', 'myPlugin'));
>  }
>  public function setupPlugins()
>  {
>    // connecting unit & functional tests of plugin
>    $this->pluginConfigurations['myPlugin']->connectTests();
>  }
> }
>
> "symfony test:unit myFirst" & "symfony test:unit mySec" calls works  
> perfect.
> But "symfony test:unit" call returns:
>
> [sfDoctrineObjectGuard] unit/ 
> myFirstTest...........................dubious
>    Test returned status 255
>    Failed tests: 0
> [sfDoctrineObjectGuard] unit/mySec  
> Test..........................dubious
>    Test returned status 255
>    Failed tests: 0
>
> What i'm doing wrong ?


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

Reply via email to