- Read about unit testing at the following links: * http://en.wikipedia.org/wiki/Test-driven_development * http://www.extremeprogramming.org/rules/unittests.html
- Fork this repository and clone your fork
- cd into the linked-list-cohort-huckleberry folder on your computer
- Run
bundle install
to install MiniTest. - Run
rake
to run the test suite - Make the test suite pass by implementing the LinkedList and LinkedListItem classes * Choose one test at a time to work on * Once the tests pass, you should refactor and clean up your code
- Push your implementation up to github as you work on it.
- Don't use hashes
- Don't use arrays (except in the bonus exercise on initialize)
- Only use core Ruby (i.e. No using require)
- No copying (from the internet or your peers)
To run the tests Koans style:
rake
To run all of the tests at once:
rake test_all
The tests for the project are in the /tests directory.
The stubbed classes that you are to implement are in the /lib directory.
I have numbered the unit tests to give you a hint at the easiest implementation order.