Skip to content
/ rdd Public

Readme Driven Development (runs examples from README file)

Notifications You must be signed in to change notification settings

locochris/rdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rdd

Build Status Gem Version Dependency Status

Installation

gem install rdd

Usage

  • create a spec/readme_spec.rb spec file
require 'rdd/rspec'

describe_readme(File.expand_path('../../../README.md', __FILE__))
  • run the spec
rspec -cfn spec/readme_spec.rb

Example Usages


Example: First example

p 1 + 1
# => 2

Example: Second example

a = 6
b = 7
p a + b
# => 13
p a * b
# => 42

About

Readme Driven Development (runs examples from README file)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages