Testdown is a language for writing website smoke tests in plain text:
Click the recipe "banana smoothie". Wait. Look at the recipe pane. See some ingredients: "banana", "honey".
The simple language encourages high-level testing. A handful of verbs are enough to exercise much of a web site's functionality.
Meaningful names instead of cryptic selectors make for clear and maintainable test suites.
Test suites are valid Markdown files, so non-coders can read them as rich text documents.
Testdown comes with a JavaScript-based test runner for single-page apps. Run tests from your regular browser using the test HUD or in continuous integration using WebDriver.
Notes:
A noun phrase like the thing will locate an element whose role is set to "thing".
You can also use the thing "foo" to select a thing that contains the text "foo" anywhere in its content.
"Look at" changes where the robot looks for elements. It starts at the root and resets with every scenario.
You can use compound words like "recipe search box" for roles, too.
Sentence types: