Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Fabien Potencier
Which version of PHPUnit do you use? -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 12/13/10 12:43 PM, odino wrote: Hi guys, I was trying to fix a bug on Sf2 tracker. To do that I needed to build

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Alessandro Nadalin
Hi Fabien, 2010/12/14 Fabien Potencier fabien.potenc...@symfony-project.com: Which version of PHPUnit do you use? phpunit --version: PHPUnit 3.5.0RC2 by Sebastian Bergmann. Following some hints of the italian symfony ML I've tried to use the vPR4 tag ( instead of the master ) on the Git repo,

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Fabien Potencier
You must use the latest stable version of PHPUnit. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 12/14/10 11:00 AM, Alessandro Nadalin wrote: Hi Fabien, 2010/12/14 Fabien

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Alessandro Nadalin
Hi Fabien, 2010/12/14 Fabien Potencier fabien.potenc...@symfony-project.com: You must use the latest stable version of PHPUnit. Sorry, terrible mistake of mine. But after upgrading to 3.5.5 I get, as previously: PHP Fatal error: Cannot redeclare class FooClass in

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Fabien Potencier
On 12/14/10 1:21 PM, Alessandro Nadalin wrote: Hi Fabien, 2010/12/14 Fabien Potencierfabien.potenc...@symfony-project.com: You must use the latest stable version of PHPUnit. Sorry, terrible mistake of mine. But after upgrading to 3.5.5 I get, as previously: PHP Fatal error: Cannot

Re: [symfony-users] Test suite of symfony 2

2010-12-14 Thread Alessandro Nadalin
2010/12/14 Fabien Potencier fabien.potenc...@symfony-project.com: On 12/14/10 1:21 PM, Alessandro Nadalin wrote: Hi Fabien, 2010/12/14 Fabien Potencierfabien.potenc...@symfony-project.com: You must use the latest stable version of PHPUnit. Sorry, terrible mistake of mine. But after

[symfony-users] Test suite of symfony 2

2010-12-13 Thread odino
Hi guys, I was trying to fix a bug on Sf2 tracker. To do that I needed to build the environment: * forked the symfony/symfony repo * cloned on my local machine * installed required PEAR packages * installed ( eventually updated ) the vendors but when i run phpunit I get a fatal error: Call to

[symfony-users] test stops at redirect without error :-(

2010-08-03 Thread mlu...@gmail.com
Hi! I am writting tests for all my forms. Yesterday in the evening everything went fine and today it doesn't. This is the start of my test file: ... ?php include(dirname(__FILE__).'/../../bootstrap/functional.php'); $browser = new sfTestFunctional(new sfBrowser()); $browser-

[symfony-users] Test email sending in function test

2010-03-04 Thread Alexx
Hi, Sorry for my english. I try test email sending, but when I call action ($browser-post('/ genre/save')) it call in prod environment (in production environment mailer settings is incorrect), not in test. How can I change environment? My factories.yml: test: mailer: param:

[symfony-users] Test functional : Problem with delete method

2009-11-01 Thread Necho
Hi ! I have a problem with the method delete! I developped the create, edit, list method with success but for the delete method, when i click on the button delete i have a confirmation text (in javascript). To delete, i must click on the button OK but the javascript can't be tested! no? Do you

[symfony-users] Test

2009-08-19 Thread DEEPAK BHATIA
--~--~-~--~~~---~--~~ 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] Test unit Jobeet - Doctrine

2009-07-16 Thread Owen Jeremiah
Hi all, Ran into an error while following Jobeet Tutorial - Doctrine path Day #9. When I tried to load data into my test database using php symfony test:unit JobeetJob, it returns this error message: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'created_at' in 'field list' It seems

[symfony-users] test secure action

2009-05-05 Thread Jack Bates
Where is there an example of testing a secure action? I looked, * http://www.symfony-project.org/jobeet/1_2/Propel/en/09 * http://www.symfony-project.org/book/1_2/15-Unit-and-Functional-Testing I don't necessarily want to test that the action is secure, nor do i want to test the login action -