speaking in Netbeans and other IDE's. I noticed that the tests are located in its respective app / module, this would be a good practice?
I do not know a lot of tests in the IDE's but I noticed in my research that there is normally a single directory for all tests. Let the tests Symfony2 distributed in various directories of the applications would not be a bit confusing for those IDE's? Would not it be better a single cache directory? Applied to the directory or RC3 version of Symfony2 is only one example that has no intention of it being applied? PS: sorry my bad English. On Tue, Oct 5, 2010 at 2:37 PM, raphox <[email protected]> wrote: > this problem is here: > > \symfony\src\Symfony\Bundle\FrameworkBundle\Test\WebTestCase.php line > 49: > > // find the --configuration flag from PHPUnit > $cli = implode(' ', $_SERVER['argv']); > if (preg_match('/\-\-configuration[= ]+([^ ]+)/', $cli, > $matches)) { > $dir = $dir.'/'.$matches[1]; > } elseif (preg_match('/\-c +([^ ]+)/', $cli, $matches)) { > $dir = $dir.'/'.$matches[1]; > } else { > throw new \RuntimeException('Unable to guess the Kernel > directory.'); > } > > this function captures the arguments passed by the command, and the > conditional checks the arguments. but in some cases no argument is > provided, thereby triggering the exception. > I'm still studying this case. > > PS: > - I'm trying to run the tests via NetBeans. > - the coment "black magic below, you have been warned!" is great. > > On Sep 23, 8:47 pm, gordonslondon <[email protected]> wrote: > > I have also the same problem > > -- > 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 developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-devs%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- Raphael Almeida Araújo Homepage: http://sites.google.com/site/raphoxaraujo -- 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 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
