Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
Moderator: General Moderators
Ollie Saunders
DevNet Master
Posts: 3179 Joined: Tue May 24, 2005 6:01 pm
Location: UK
Post
by Ollie Saunders » Tue Jan 02, 2007 4:40 pm
Does anybody use the 3rd parameter (message) on each of the assert method in SimpleTest? If so, why? Should I? What are they for?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue Jan 02, 2007 4:50 pm
I do. I use them as comments about the specific test so it's a bit more useful then some line number.
Ollie Saunders
DevNet Master
Posts: 3179 Joined: Tue May 24, 2005 6:01 pm
Location: UK
Post
by Ollie Saunders » Tue Jan 02, 2007 5:50 pm
That was what I was thinking. Could you post an example so I can see the sort of stuff you put in there?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue Jan 02, 2007 9:46 pm
Looking through my code trees, I can't find any that I can post. Sorry.