Unit Testing a Zend Framework
Questions tagged [zend-test]
51 questions
0
votes
2 answers
PHPUnit+ZendFramework ::How I can test multu users session in the same time?
I beginer programmer,and don't have any QA experience
(only simple test that i write without PHPUnit or other tool)
How I can create test for testing multi users sessions in the same time?
(PHPUnit+ZendFramework)
basic tests examples that I…

Ben
- 25,389
- 34
- 109
- 165
0
votes
1 answer
PHP unit tests for controller returns no errors and no success message
I'm using the zend modular director structure, i.e.
application
modules
users
controllers
.
.
lessons
reports
blog
I have a unit test for a controller…

Mallika Iyer
- 700
- 2
- 12
- 23
0
votes
2 answers
How to test my forms in Zend Framework 1.8+?
So I've set up testing in my ZF 1.9.5 application thanks to this tutorial, I am able to test my controllers, now I want to create a test for a form. However, I'm having the problem that PHPUnit can't find my form.
Fatal error: Class…

Andrew
- 227,796
- 193
- 515
- 708
0
votes
1 answer
Zend_Test_PHPUnit versus Selenium
I have used Zend_Test_PHPUnit before for integration tests and it was great. I could configure a request object and fire it off, and run asserts against the results, including using CSS selectors.
How does Selenium compare to this? And what…

DatsunBing
- 8,684
- 17
- 87
- 172
0
votes
1 answer
Zend Test assertResponseCode incompatible with PHPUnit?
I am trying to use Zend Test and PHPUnit to test an application I've built. I'm just in the early stages of getting things setup and have run into some problems (see this fun problem). But besides PHPUnit not being able to write the log file for…

nwalke
- 3,170
- 6
- 35
- 60
0
votes
2 answers
Bootstrapping issues with zend_test/phpunit
I am working with Zend_Test. Below is my tests/bootstrap.php file:
// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));
// Define application…

Rijndael
- 3,683
- 2
- 24
- 26