I have this apparently basic code: $docSrc = \'<?xml version=\"1.0\" encoding=\"UTF-8\" ?> <html xmlns=\"http://www.w3.org/1999/xhtml\">
I am accessing options from an action controller, which is working well with the application, but I\'ve hit a problem when I attempt to UnitTest it:
I am a very new zend framework and phpunit test learner. I have a zend project, I want to use the zend-test-phpunit to test the model and controllers under the application folder. How could I test it?
PhpUnit::How can be __construct with protected variables tested? (not always we should add public method getVal()- soo without add method that return protected variable value)
When I run my PHP unit test I get: 1) Test_Model_Mapper_TestTest::testTest Argument 1 passed to PHPUnit_Extensions_Database_DataSet_DefaultTableIterator::__construct() must be an array, null given, c
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.
Zend Test appears to rely upon Zend_Test_PHPUnit_DatabaseTestCase and Selenium appears to need PHPUnit_Extensions_SeleniumTestCase yet as far as I can tell PHP doesn开发者_StackOverflow\'t support mul
I wanted to write unit tests for my Zend Framework/Doctrine 2.0 application, but I don\'t quite understand how to set up unit testing in ZF. Also, I would like to include Doctrine 2.0 in those unit te