Home / Relish Service Documentation

Markdown Files Alongside Cucumber Features on Relish

The documentation that used to be at this address is no longer published, and its source was never released under an open license, so it is not reproduced here. This page is an independent guide to the same topic, written for this archive. It is not the project's documentation and is not affiliated with its authors.

This is a historical explainer written for this unofficial archive. Relish has closed, so nothing here describes a service you can still sign up for or use.

Prose next to scenarios

Feature files are good at describing examples and weak at explaining context. Relish let publishers drop Markdown files into the features directory, and those files were rendered as ordinary pages in the navigation. A README.md inside a folder acted as that folder's introduction, which meant every section could open with a paragraph or two of plain explanation before the scenarios began.

What to put in Markdown, and what not to

Good fit for MarkdownBetter as a feature
Installation and setup notesRules the system must enforce
Glossary of domain termsCalculations with concrete inputs and outputs
Architecture or concept overviewError handling and validation behaviour
Upgrade notes between versionsAnything you want checked on every build

The rule of thumb is simple: if a statement can be verified by running code, put it in a scenario so it cannot rot. If it is context, history or guidance, Markdown is the right home.

An example folder

features/
  README.md
  glossary.md
  accounts/
    README.md
    open_account.feature
    close_account.feature

And a short folder introduction might read:

# Accounts

These features describe how customer accounts are opened and closed.
An account always belongs to exactly one customer. Closing an account
does not delete its transaction history.

Pitfalls

Mixing short prose with executable examples is still the most readable way to publish behaviour specs, whichever tool renders them.

More on Relish Service Documentation

Explore the archive