Skip to content

DanielWright/undo_redo_stack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is intended as a gentle introduction to TDD/BDD for people who have not experienced it before. The idea is to implement a simple Undo/Redo stack as can be found in any text editor. We all know how those work, so you can focus on letting the tests drive the implementation. This should be a fairly short exercise.

You could start by using your TDD'ed implementation from here. Do that exercise first if you haven't already.

Instructions

  • Fork this project and clone it locally
  • Open up spec/undo_redo_stack_spec.rb
  • Run bundle
  • Run bundle exec rspec --color spec/undo_redo_stack_spec.rb
  • Make tests pass
  • Refactor

About

RSpec examples for a simple Undo/Redo Stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%