In this project I learn about how to implement classes and objects in Ruby and encapsulation and inheritance with Ruby.
Ruby
This project use Ruby language.
- unit tests using Rspec
- Rspec unit tests with mocks
- TDD concept
- Live Demo Link- not available.
In order to run this project you need:
- Ruby installed on your machine
- RSpec installed globally to run the tests. Here is a tutorial about how RSpec.
- Text editor (VSCode, Sublime, Atom, etc.)
Clone this repository to your desired folder:
cd my-folder
git clone https://github.com/Wahaj-Ali/TDD.git
cd TDD
- Run
bundle install
orbundle i
to install the gems - Run
irb
to run the code by pasting it in the terminal. - Run
rubocop
to find and fix linters
Run tests with:
rspec
rubocop
👤 Wahaj Ali
- GitHub: @Wahaj-Ali
- Twitter: @Ali96Wahaj
- LinkedIn: @wahaj-ali96
👤 Rohit Bhatt
- GitHub: @rbhatt1999
- Twitter: @Rohit_Bhatt_
- LinkedIn: LinkedIn
In the future, I would like to add the following features:
- Add more tests for edge cases
- Add more functions to test.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project, Give a ⭐️.
- Project from Microverse RUBY, DATABASES module
This project is MIT licensed.