Debugging Automated Tests, Step One

Step on in troubleshooting any failing automated test should always be Look at the application and try to do what the automated test does.

I hate to admit how many times I’ve spent hours trying to debug an automated test only to realize at the end that the automated test was failing because the application had an error.

I guess I spent that much time on it because somehow I trust my own code less than code created by a software developer.

At any rate, Trish Khoo has written an automated test debugging cheat sheet that does not include my step one as step one, but it’s a handy bit of thinking to keep at hand.

Comments are closed.

wordpress visitors