simpletest
CakePHP SimpleTest enum problem
CakePHP1.3 with SimpleTest can\'t treat enum type column. How to resolve this problem.? Not开发者_高级运维ice: Schema generation error: invalid column type enum([详细]
2023-01-28 12:34 分类:问答How do I test my plug-in interface which uses an abstract class?
I\'m using PHP 5.3 and SimpleTest, but more general answers are welcome. Each plug-in will be a class which extends an abstract class... how do I test that this interface works properly? Do I have to[详细]
2023-01-22 22:43 分类:问答How do you run SimpleTest from Hudson?
I\'m doing some work with CakePHP and want to use Hudson. I can run all kinds of plugins but I don\'t see anything for SimpleTest. Until Cake 2.0 comes out and they move to PH开发者_如何学编程PUnit, I[详细]
2023-01-17 07:46 分类:问答How can I write tests for file upload in PHP?
I\'m using simpleTest to write my PHP tests. I\'m writing a file upload plugin and was wondering how I may be testing it.[详细]
2023-01-10 07:22 分类:问答What could change the directory in php Windows besides chdir() and chroot()? (Simpletest include file bug in Windows)
(Sorry if this is titled poorly.I\'m actually trying to accomplish two things - find out how the current directory can get changed in PHP, and fix a bug in Simpletest running on WAMP.)[详细]
2023-01-08 12:29 分类:问答Simpletest PHP scriptable browser... how to test submit a form that has [ ] in the form name (basically in array format)?
I am using simpletest, the php scriptable browser and trying to test submit a form that is in array format so its like this:[详细]
2023-01-06 03:23 分类:问答Using Simpletest PHP "unit testing for PHP", getting error message "Deprecated: Assigning the return value of new by reference is deprecated "
I am new to using simpl开发者_StackOverflow社区etest: http://www.simpletest.org/ for PHP and am using PHP 5.2* on my server, when I try to set up an initial test script based on their demo, I get a pa[详细]
2023-01-06 02:53 分类:问答Invoking a URL and retrieving the rendered HTML page in Phing
So this is my dilemma - I am using the excellent codeigniter-simpletest library by Eric Barnes (http://github.com/ericbarnes/codeigniter-simpletest). Its perfect for my purposes, as it adds an endpoin[详细]
2023-01-04 23:19 分类:问答How to write unit test before the class code?
I am trying to get into the habit of writing a unit test before the actual class. What are some pointers the stack overflow community can give me along wit开发者_如何学编程h any useful resources.[详细]
2022-12-31 06:21 分类:问答Help me write a PHPUnit Test for the following method
public function getAvailableVideosByRfid($rfid, $count=200) { $query=\"SELECT id FROM sometable WHERE rfid=\'$rfid\'\";[详细]
2022-12-31 05:34 分类:问答