This is an attempt to adapt the MiniTest examples and concepts from the testing chapter of POODR to RSpec. POODR is an incredible book that will help anyone writing OOP code no matter what language.
This repo has no affiliation with POODR, Sandy Metz, or the Publisher. The library classes and MiniTest suite are mostly copied from the book. There are a few updates made, for example we use MiniTest::Test
instead of MiniTest::Unit::TestCase
. The RSpec suite was written from scratch and not from the book. It is an attempt to convert the principles found from the MiniTest suite to RSpec.
- Clone this repo.
- Change directory into the local repo.
bundle
You can run both the MiniTest and RSpec test suites by running bundle exec rake
. You can also run just the MiniTest or RSpec suites with rake via:
bundle exec rake spec
bundle exec rake test
Bug reports and pull requests are welcome on GitHub.
The code is available as open source under the terms of the MIT License.