I\'m used to web development using LAMP, PHP5, MySQL plus NetBeans with Xdebug. Now I want to improve my development, by learning how to use (A) proper testing and (B) a framework.So I have set up Co
I normally use getter and setter methods on my objects and I am fine with testing them as mock objects in SimpleTest by manipulating them with code like:
I\'m new to the PHP SimpleTest framewo开发者_JS百科rk, and I was surprised to see that a failed assertion doesn\'t halt the test method. In other words, this causes two failure messages in the test re
i开发者_如何学运维f i use the custom css generator on their webpage i can have a wider width than 960? so isnt the name 960 kind of misleading?
Currently several of my unit tests need common functions such as logging in a specific user fro开发者_StackOverflowm the mock objects or making sure that no one is logged in.I currently have those fun
I\'m trying to use simpletest to compare two numeric strings, one from an array and one from an object property.
I am a trying to apply Test Driven Development to producing a web page and am having trouble using my database. I am developing using Cake 1.1, PHP5 and SimpleTest to unit test.