#Using Rspec for Test-Driven Development
##Getting Started
- Fork and clone this repository
- Run
bundle install
to install dependencies- Run
rspec
to run tests - Run
rubocop
to lint code
- Run
Take a look at the starter code. You'll see blueprints for two different classes within the lib
folder, as well as tests in a spec
folder for the implementation of these classes.
##Requirements
Implement the classes so that the tests succeed, using TDD principles.
- Run test (test should fail)
- Write code to try to make the test pass
- Run test (if the test fails, return to step 1)
- Refactor code if needed
Run rspec
in the starter-code folder to run the tests. Take a look at the specs if you get stuck.
- All content is licensed under a CC-BY-NC-SA 4.0 license.
- All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.