Designing a Test Language

Test Language Design Guidelines

For an introductory set of guidelines on how to design a good testing language go here 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.


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