I don't have a problem with the idea of test, as such, but I couldn't use them since I write webapps and what gives us issues isn't the Javascript code (about 80%) of the time.
It is the CSS, or failing that, the interaction between Javascript and CSS, which I haven't seen any way to test automatically (such test would be able to answer 'given this code, does the resulting DOM look like picture $N').
Usually when there is something wrong with the Javascript it blows up in our faces.
So if anybody knows of a testing framework that can do this, please tell me about it.
It is the CSS, or failing that, the interaction between Javascript and CSS, which I haven't seen any way to test automatically (such test would be able to answer 'given this code, does the resulting DOM look like picture $N').
Usually when there is something wrong with the Javascript it blows up in our faces.
So if anybody knows of a testing framework that can do this, please tell me about it.