Designing a Test Language

Test Language Design Guidelines

For an introductory set of guidelines on how to design a good testing language go here http://atomicobject.com/pages/Language+Design There are some guidelines there that are specific to the ruby language but it’s a good start.  A testing language is a good example of a domain specific language.  The language will most likely follow the verb first form. i.e.

Log_Into_App
Submit_First_name
Delete_person_record

When using parameters The language will most likely end in prepositions and should to promote maximum readability.

Log_in_as "User"
Submit_social_security_number_with_value_of "222-22-2222"

Instructions can also be strung together to form a sentence.

view_information_panel_as "administrator" and_verify_privileges