Specification by example

This blog post explains the general idea of specification-by-example and demonstrates the actual tests that can be created from the definitions.