Example-driven
Example-driven development is somewhat similar to test-driven development, but it differs both in how examples are expressed and composed, and in how examples are utilized both for testing and for documentation purposes.
Take an introductory example-driven development tutorial: Example-driven development by example.