UPDATE 23 Dec I had the problem where Zend Framework complains about \"No default module defined for this application\". I didn\'t use Modules and the main app works fine.
Whats the way to unit test Doctrine 2 models? I am using it with Zend Framework 1.11. It has Zend_Test which uses PHPUnit. I think the right thing to use is PHPU开发者_运维技巧nit_Extensions_Database_
I am getting the exception PDOException: You cannot serialize or unserialize PDO instances when I am trying to use PHPUnit for Unit Tests. I have not much going on. I am using Zend Framework 1.11.
I think this is quite a stupid question, but do you test your Models if you already use a ORM framework. I was at it when I realized there isn\'t much to test? I mainly will just use the models for va
I am running some unit test on my Zend Framework application. What I cant understand is that the following test fails:
I\'d like to use a transaction rollback method to isolate my database for unit testing purposes.Ideally, I would use a structure something like this:
I have a PHPUnit test that does the following: fill out a form on a web page using Selenium RC (The app sends an email to a gmail account)
Is it possible to tell phpunit where to put gen开发者_Go百科erated test skeleton file by the --skeleton-test command? Even is it possible to tell phpunit to repeat directory structure?
I tried to find something about this on Google but nothing came out. I have a TestCase class that inherits from WebTestCase, with some methods that I want to use in all my unit/functional tests:
I wrote a few PHPUnit tests for my PHP application. I am working on two development machines that synchronize the entire development filesystem, and there is an automatic testing system that runs the