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

2010-12-14 Thread Alessandro Nadalin
2010/12/14 Fabien Potencier : > On 12/14/10 1:21 PM, Alessandro Nadalin wrote: >> >> Hi Fabien, >> >> 2010/12/14 Fabien Potencier: >>> >>> 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 Fat

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 Potencier: 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 /var/www/symfony

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

2010-12-14 Thread Alessandro Nadalin
Hi Fabien, 2010/12/14 Fabien Potencier : > 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 /var/www/symfony2/tests/Symfony/Tests/Component/DependencyInject

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 Potencier: Which version o

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

2010-12-14 Thread Alessandro Nadalin
Hi Fabien, 2010/12/14 Fabien Potencier : > 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, but the, frustrating :), error that

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 the

[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 und

[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: ... get('/gamelists/index')-> with('request')->begin()-> isParameter('module', 'lists')-> /

[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: delivery

[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+unsubscr...@goo

[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 - I

[symfony-users] test-unit with ldap API

2008-07-10 Thread Mathieu Pauly
Hi all, I am discovering symfony tests from few days and I have a problem. 1. I wrote a class named Ldap in myApp/lib/Ldap.class.php. (listing at the end of this email). Hence, I wanted to run a test for this class. 2. I wrote a test in test/unit/LdapTest.php. Since I am using LDAP functions (

[symfony-users] test-unit is "dubious" and returns status 255

2007-06-02 Thread Steve
Hi, I've found this problem mentioned a few times before, but haven't really found a solution ... sorry if I'm missing something. My problem is the same one that the original poster has: all of my unit test classes run fine when invoked invidiually: $ symfony test-unit ClassUnderTest But when