zend-test
XPath in PHPUnit testing with Zend
I have this apparently basic code: $docSrc = \'<?xml version=\"1.0\" encoding=\"UTF-8\" ?> <html xmlns=\"http://www.w3.org/1999/xhtml\">[详细]
2023-03-06 00:28 分类:问答Zend_Test on Action_Helper accessing $bootstrap->getOptions() error
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:[详细]
2023-02-25 06:46 分类:问答How to use zend test phpunit in zend project
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?[详细]
2023-02-24 23:25 分类:问答PHPUnit::How can be __construct with protected variables tested?
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)[详细]
2023-02-09 19:57 分类:问答(PHP): Testing models with Zend_Test_PHPUnit_DatabaseTestCase
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[详细]
2023-02-03 20:16 分类:问答Zend_Test: No default module defined for this application
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.[详细]
2023-01-31 23:04 分类:问答Unit Testing Doctrine 2 Models
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_[详细]
2023-01-31 15:47 分类:问答PHPUnit/Zend_Test: PDOException: You cannot serialize or unserialize PDO instances
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.[详细]
2023-01-31 07:01 分类:问答How Does One Produce a Selenium Test with Database Fixture
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[详细]
2023-01-23 23:07 分类:问答Unit testing with Zend Framework/Doctrine 2.0
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[详细]
2023-01-12 08:01 分类:问答