Hi James, Without getting into the issue of what's a unit test, what's an integration test and whether it is bad to use html files for unit tests, the team I...
... That's a very good point. I usually use XPath expressions in assertions to specify just what I care about the HTML structure and ignore irrelevant...
Michael Feathers and I are working up a talk that will be a review of effectively 10 years of TDD. The idea is partly just to look at the history, but mainly...
... Exactly: XPath is a query language, just like SQL, so you can use it with surgical precision, to skip irrelevant and volatile details, like your page...
I've got a web-app that's supposed do to the following 1. Given a link on the main page 2. When the user clicks the link 3. a) the clicked link is added to a...
Olof Bjarnason
olof.bjarnason@...
Jan 2, 2009 11:10 pm
29611
I've finally posted the results from the TDD survey that I ran in October at http://www.ambysoft.com/surveys/tdd2008.html . As usual the source data, the...
... Hi Scott -- you refer to TDD (above) as a validation technique yet Ward Cunningham helped many of us realize that TDD is first and foremost a design ...
======================================================== CALL FOR PAPERS ======================================================== W I K I S Y M 2 0 0 9 The...
I liked the prominence of wikis in design and documentation in the survey. The Wiki Symposium is definitely interested in experiences with using wikis in...
... What do you mean by "capture"? Do you mean that they create models and/or documents that they keep and maintain as they build the application? Or do you...
... Good point: Scott is indulging in PHB-speak, and "leveraging our synergies" when he implies designs can be captured! The neutral way to say that might be...
I was a bit surprised to see no reference to Beck and GammaŽs paper "Test Infected". Got me thinking about tests before code all those years ago. John D. ... ...
... "Test Infected". Got me thinking about tests before code all those years ago. ... If you think something should be there, just add it to the list. --Nat...
Hi Nat, Okay, IŽll try - I never edited a wiki before. I think their collaboration and the paper resulted in the first version of JUnit. John D. ... From:...
... Drive PHP from an external app, so you can capture the headers (drive it as-if it's running as a CGI --- environment variables set for CGI, Request data on...
Thanks Anthony. So I need to learn how to do http-requests at a more granular level than: $html = GetHTML($url); .. which is what I got now. [FYI: My current...
Olof Bjarnason
olof.bjarnason@...
Jan 6, 2009 7:41 pm
29623
Hi Olof, Are you using one of the PHP test frameworks? For a list, see http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#PHP Charlie...
Nope, I'm using "poor mans unit testing" which means assert only :) Anthony gave me an idea however - why not mix different test tools? For example, I'm a lot...
Olof Bjarnason
olof.bjarnason@...
Jan 6, 2009 10:45 pm
29625
... If that works for you, fine. On the other hand, there might be some capabilities in the existing PHP testing frameworks that will reduce the amount of...
2009/1/7 Adam Sroka <adam.sroka@...> ... Primary reason for using PHP is because it is available on the host I'm already paying a service fee to (and...
Olof Bjarnason
olof.bjarnason@...
Jan 7, 2009 7:32 am
29628
Hi Olof, ... In the case of PHPUnit, I was able to simply upload it to my host, just as I do for my own PHP programs. I imagine that any PHP framewor would...
... Installing the PHP testing frameworks is just a matter of uploading the PHP scripts, just as you would your PHP scripts. You then just include them from...
2009/1/7 Charlie Poole <charlie@...> ... If it's that simple - it is my kind of install. Maybe I'll try it. ... -- Min blogg: ...
Olof Bjarnason
olof.bjarnason@...
Jan 7, 2009 9:25 am
29631
... In that case I might reconsider. ... Thanks! I'll check that out. ... -- Min blogg: http://olofb.wordpress.com [My blog, in Swedish]...
Olof Bjarnason
olof.bjarnason@...
Jan 7, 2009 9:28 am
29632
My new book titled "Bridging the Communication Gap: Specification by Example and Agile Acceptance Testing" (ISBN: 978-0-9556836-1-9) is printed and it is now...
... Apologies for not reading the whole thread, but shouldn't all unit testing occur on your own desktop? Wouldn't uploading to a server cause friction,...
... In short: no. What I'm doing is running the tests continously on the server, via a script I call autotest.php. I simply surf onto that page, and that page...
Olof Bjarnason
olof.bjarnason@...
Jan 10, 2009 4:31 pm
29635
Does that mean your tests are running in the production environment? --Nat ... -- http://www.natpryce.com...