simpletest
CodeIgniter and SimpleTest -- How to make my first test?
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[详细]
2022-12-30 17:44 分类:问答Is it possible to set properties on a Mock Object in Simpletest
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:[详细]
2022-12-28 10:30 分类:问答Can PHP SimpleTest framework be configured to fail fast?
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[详细]
2022-12-18 08:05 分类:问答have a width larger than 960px with 960?
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?[详细]
2022-12-16 16:43 分类:问答Where to place common library for unit test functions in Cakephp?
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[详细]
2022-12-15 07:05 分类:问答PHP - Simpletest - Comparing numeric strings
I\'m trying to use simpletest to compare two numeric strings, one from an array and one from an object property.[详细]
2022-12-13 03:08 分类:问答My database doesn't insert immediately
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.[详细]
2022-12-10 19:25 分类:问答