Wednesday, 20 June 2012

A short rant on naming conventions

So today I am having to run automated scripts manually - part of the triage process - and I thought I had  come to grips with all major vague statements which make up the automated suite. That was until I encountered the instruction to "[click] lnk2". 

Whatever is being created, whether it is declaring variables, reusable test scripts, or naming objects for an automation library, remember that in a year from now someone else will be picking it up and trying to work out what on earth you were on about. The key - I am not going to preach my own flavour of conventions here - just think about it. Be proactive. Have a structure. Go back and update names which were fit for purpose but are now a bit rubbish. Otherwise you will end up with a bigger pile of rubbish. Just do it.

No comments:

Post a Comment

Robot Framework, Basic Setup

Plug: Robot Framework is quick to setup, easy to write tests for, and super fast to triage failures in. The last point really sets it apart...