Human Testing is still necessary
Human Testing is still necessary
It always irritates me when I sit down to test out recently developed software (be it a new asset, shop plugin, etc) and the very first success case I try fails. I then notice that there are a slew of automated tests for the thing I'm testing and I think to myself, how is it that the developer could have had enough foresight to have written automated tests and yet didn't even do the bare minimum of making sure the thing actually worked before proclaiming it "complete".
Re: Human Testing is still necessary·
This is where Test::A8N (name may be changing) comes into play. You define a test almost exactly as you wrote it, and an automated process runs it.
So you write your test: --- and then a "fixture" turns it into runnable tests. (and imagine the actual code that would've been written to implement that test, and then copied for every potential permutation). So while your human is testing, they're writing one of these things. When they're done, there's an easily-repeatable automated test that can be run after any changes.
Re: Human Testing is still necessary·
Very cool, that cpan module looks worth checking out! But you'd still want to run through some of the tests manually, to check that the UI is ok for humans as well as robots.
Re: Human Testing is still necessary·
Testing by hand should always be done to some extent. Tools will ignore what the test case creator in a test tool did not take into account. Automated testing is very usefull, but also limited. The human eye will pick up other things. A must read if you want to know about testing is TestGoal. The website supporting this book is by the way build in WebGUI :-) There is a whole chapter on automated testing including when it makes sense and when it doesn't.
Re: Human Testing is still necessary·
I also like Selenium. It's a good way to reproduce your clicks in browser. You can download the Selenium IDE for Firefox. We use Selenium's test runner to check our most important site daily, including a 50 question math quiz. You can even test that stuff is not showing up, like the lovely message when a shortcut's original has been deleted out from under it. We have found it invaluable as an upgrade aid. If Selenium tests don't run clean after an upgrade to webgui, we find out about a potential problem right away and can decide whether to fix or revert. One other good thing, is it runs in your browser, so you can slow it down a bit and check the site visually whenever you need to. Susan B |

