links
links copied to clipboard
Headless Web testing framework
I was thinking (re: #156 ) that it would be handy to set up a simple script for regression testing of relatively simple web things, along the following lines:
- run short Links program that builds a web page and starts using servePages(), background it
- use wget or similar to check that the http response is what we expect
- shutdown the Links program
Would it be worthwhile to set up a separate script to do this, or is it a trivial special case of the headless web testing frameworks you've looked at?
Hi James,
We'd need to do step 1 manually (I would imagine using Python's subprocess library or something similar), but steps 2 and 3 would be doable using the headless web testing frameworks.
I'm on it