A simple deliberately buggy grammar-driven text generator for practicing exploratory testing and browser automation.
Grammar Data Gen
Categories:
Grammar Data Gen is a pair of deliberately buggy text generation apps for practicing exploratory testing, test modelling, and browser automation.
The apps generate random text from small grammar definitions. They are intentionally imperfect, so use them to compare expected grammar behaviour with what the page actually does.
Versions
Grammar Data Gen - Basic uses one text area of template lines with bracketed options such as [one, two, three]. It is the simpler exercise and is useful for practicing line selection, option parsing, click behaviour, and form behaviour.
We can [only, never, absolutely] [automate, encourage, mandate] [creativity, rote work, the wearing of hats]
Grammar Data Gen - Complex adds named phrase definitions such as phrase_insert: [when, soon], #phrase_name insertion, and generated-output history. It is the richer exercise for testing reusable grammar data, recursion, missing references, quoted values, and history.
phrase_insert: [when, we might choose to, "optional quotes, because i added a comma"]
this is a phrase with a #phrase_insert
Shared guidance is available on the instructions page, and documented issues are listed on the known bugs page.
For a fixed utility that is practical for generating data, use Grammar Based Test Data in the Tools section.