Wanted: How to write tests for online applications
Friday, October 17th, 2003 at 1:00 am
I’ve been reading through Kent Beck’s Extreme Programming Explained, an article with an example of refactoring perl, and more of the WikiWikiWeb. One point that they, and all the other stuff on refactoring I have read, say is that you must be able to test both pre and post refactor.
I can see how this is done for a module; write a test harness that tries various things and expects both successes and failures. But how do you write system test when the system is a web interface to these modules?
I have tried and failed but if I remember I will again try to search for some examples people have written, specifically with regard to testing web interfaces…