This project demonstrates Test Driven Development (TDD) using RSpec for testing. The main objective is to create a class called Solver with specific methods, adhering to the given requirements.
- Ruby
- RSpec
- Ruby
- RSpec
- Unit tests using RSpec
- Class
Solverwith the following methods:factorial: Returns the factorial of a number.reverse: Reverses a given string.fizzbuzz: Implements the FizzBuzz logic.
Before you begin, ensure you have Ruby installed on your machine
Clone the repository to your local machine.
git clone https://github.com/richie1988/Test_Driven_Development.gitRun bundle install to install the required dependencies.
Execute the tests using the command rspec.
rspec spec spec/solver_spec.rbThis project was developed by: Richard Sikaonga and Nelly Telli
No planned future features at this time. The project is complete and functional, but open to community contributions and suggestions for improvements.
Contributions are welcome. Feel free to open an issue or create a pull request. or create a new fork.
Give a ⭐️ if you found this project interesting.
We would like to acknowledge the contributions and support of the open-source community in making this project possible.
This project is licensed under the MIT License.