simpletest
Trouble Building a Simpletest Suite From Working Unit Test Cases
I\'ve started using unit testing for my PHP programs, and figured Simpletest was as good a place to dive in as any other.I added the Simpletest files to my testing server, and ran the following tests[详细]
2023-04-07 18:43 分类:问答SimpleTest PHP not completing a testor showing a failure
For some reason, even I have some other similar tests set up and working for other classes in the same environment, SimpleTest isn\'t running my test 开发者_运维知识库function, but it\'s not saying th[详细]
2023-04-01 07:13 分类:问答CakePHP and Simpletest: Reset database data after each test is run?
Is there a way to reset my database in between when tests run? Maybe something with test grouping? I need to load the same data for each 开发者_JS百科test. Is there someway to automatically do this be[详细]
2023-03-25 20:58 分类:问答CakePHP and SimpleTest failing tests from clean install
I\'ve just downloaded Cake PHP 1.3, and installed SimpleTest 1.0.1 into the vendors directory. When I run cake testsuite core all I get the following error:[详细]
2023-03-18 09:48 分类:问答Submit an array of values with SimpleTest
I\'m trying to submit a simple form that has an array of fields: <form> <input type=\'text\' name=\'Article[]\' id=\'Article1\' />[详细]
2023-03-16 10:53 分类:问答URL encoding seems to get in the way of properly json encoding/decoding in my PHP program
I\'m implementing a PHP script which receives an HTTP POST message with in the body a json string, tied to a \'report\' parameter. So HTTP POST report=.[详细]
2023-03-14 22:29 分类:问答Simpletest and debug drupal on remote host
I have 2 questions: 1. I see many times in drupal6 .test files and there is we开发者_高级运维ird test code there, what is this? And what is supposed to do, and how i use that (should i?)[详细]
2023-03-13 13:39 分类:问答More clarity needed on the usage assertText() function?
I have written automation test cases for my application.Below is the sample code i have used for web testing.[详细]
2023-03-13 05:16 分类:问答Unit Testing Drupal with DrupalUnitTestCase fails on database-setup
Using DrupalUnitTestCase to unit test a Drupal modul开发者_如何学Pythone, fails. I probably forget something.[详细]
2023-03-06 14:20 分类:问答Testing for cakeError() being thrown
I am using Unit Testing in CakePHP 1.3. My app uses a very simple ErrorHandler as taught by the book. One of my models calls $this->cakeError(\'myError\') if something is wrong.[详细]
2023-02-28 02:10 分类:问答