simpletest
Javascript problem with search
I am trying to write some code for a simple search function. Basically, I want to have an array of products, which are updated dynamically when a user clicks on a different radio button (i.e selecting[详细]
2023-02-27 17:26 分类:问答PHP Overloading to Unit Test Private Properties and Methods
I\'ve been reading here a few questions regarding the use of unit testing to test private methods and properties. I\'m new to unit testing and would like input on the method I\'m trying so that my tes[详细]
2023-02-12 05:16 分类:问答Why this JQuery Ajax call is not working?
<html> <head> <script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js\"></script>[详细]
2023-02-11 04:44 分类:问答How to perform complex searches and test them, in cakePHP and Simpletest
I have a very complex data structure, something like 10 tables without the join tables. My application needs to be able to perform search in most of the tables.[详细]
2023-02-10 02:23 分类:问答PHP Class improvements
I\'ve made my first class using TDD (SimpleTest). It\'s working pretty well. This class parses an XML config file and returns it as an array. How could I improve it (performance, any tips)? What about[详细]
2023-02-09 06:24 分类:问答How to getelementbyid() from a table without an id
Well I can\'t think of any easier way to word that question guys, but it\'s not as complex as it seems. Basically I have a little project going to help myself move up in my workplace (tech support age[详细]
2023-02-07 06:32 分类:问答How to specify a web service URL within a Drupal module's simpletest?
I have a开发者_StackOverflow Drupal module that talks to a REST API on a separate server for user registration and authentication. The module runs on multiple sites which point to different servers wh[详细]
2023-02-04 11:09 分类:问答SimpleTest WebTestCases affecting each other, not deterministic output
I am developing some project with CodeIgniter and write unit tests and web tests in SimpleTest. I\'ve noticed that my tests are not deterministic, i.e. they produce different outputs in time. I mean t[详细]
2023-02-01 02:49 分类:问答Unit testing helpers in CakePHP
I created a new helper called AdvHtmlHelper. class AdvHtmlHelper extends AppHelper { var $helpers = array(\'Form\');[详细]
2023-01-31 14:23 分类:问答Drupal SimpleTest: Any Way to Call setup() Once for All Tests?
Is there a way to have the setup() function once per test case class, like you can do in Junit? My setup is quite expensive and there are times I\'d like to run it once开发者_开发问答, then run all t[详细]
2023-01-29 13:08 分类:问答