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
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
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
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:
I\'m trying to submit a simple form that has an array of fields: <form> <input type=\'text\' name=\'Article[]\' id=\'Article1\' />
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=.
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?)
I have written automation test cases for my application.Below is the sample code i have used for web testing.
Using DrupalUnitTestCase to unit test a Drupal modul开发者_如何学Pythone, fails. I probably forget something.
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.