Skip to content
A TDD exercise
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_solution
lib
spec
.rspec
.rubocop.yml
Gemfile
Gemfile.lock
README.md

README.md

Quick Start

Fork this repository to your github account and clone it to your machine. Then install the dependencies:

> git clone https://github.com/makersacademy/birthdays.git
> cd birthdays
> bundle

Instructions

  • Test-drive an implementation of the requirements
  • Make sure your code is linted
  • Open a PR when you've finished

Requirements

I want a program that I can load in IRB that allows me to

  • Store all of my friends’ birthdays so I can keep track of them
  • See them all at once with their names and birthdays each on a line in a tidy format
  • Check whose birthday it is today - the program can check through the birthdays I have stored and check each one to see if it’s someone’s birthday, and tells me something like "It's Mary Poppin's birthday today! They are 124 years old!" - otherwise it won't say anything.

More requirements:

  • Test-drive extracting a birthday class
  • Isolate your birthday list class using a mock for Birthday

TDD resources

Mocking

You can’t perform that action at this time.