This is a collaborated project we did when practicing application of Test Driven Development(TDD) principles in developing programs. All the classes and methods were written after the tests had been implemented.We used algorithms for factorial and fizzbuzz.
- Ruby
- Terminal
- Rspec for testing
- Rubocop (linters)
-To get a local copy up and running follow these simple example steps.
In your terminal, navigate to your current directory and run this code:
https://github.com/NATASHA-ct/TestDrivenDevop.git
-Locate the directory in your file explorer
-cd schoo-library
-Install Rubocop using... bundle install
For Rspec you need to install the rspec gem using : gem install rspec
-NB* individual tests are known in RSpec, as the βExamplesβ.
To run the test run in your terminal :rspec spec
-To run rubocop we use... rubocop .
-To autocorrect offenses with rubocop we use: rubocop --auto-correct-all or rubocop -A
π€ Natasha Tatenda Chirombe
- GitHub: [@NATASHA-ct]((https://github.com/NATASHA-ct)
- Twitter: [@NatashaChirombe]
- LinkedIn: Natasha Chirombe
π€ Mustafa Fahimy(contributor)
- GitHub: @fahimy143
- LinkedIn: Mustafa Fahimy
π€ Contributing Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Show your support Give a βοΈ if you like this project!
Hat tip to all documentations used Inspiration
This project is MIT licensed.