- This is project focuses on practising TDD (Test Driven Development).
- App being tested is a TIC-TAC-TOE CLI game built with Ruby :
- Initiating the project folder with a rspec --init command.
- Creating _spec.rb files where the tests will be performed.
- Each method will have its behaviour tested.
- Original project specifications can be found here
- Ruby version 2.6.5
- Rspec 3.6.0
- To get started with the app, clone or download the repo :Clone the repo
- Run gem install rspec to install rspec
- Run rspec --init to generate boilerplate configuration files
- Create spec folder to store your specs/test files
- Add require '../name_of_file_being_tested.rb' to your _spec.rb files
- Run rspec ./spec/name_of_your_test_file_spec.rb to run the specs
- If all the tests pass,congratulations , if not refactor
- Click here for a more details about setting up RSpec in your Ruby project
- Give a ⭐️ if you like this project!
- See LICENSE.md for details.
👤 Author1
👤 Author1