Skip to content

richie1988/Test_Driven_Development

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Driven Development Project

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.

Table of Contents

Built With

  • Ruby
  • RSpec

Tech Stack

  • Ruby
  • RSpec

Key Features

  • Unit tests using RSpec
  • Class Solver with the following methods:
    • factorial: Returns the factorial of a number.
    • reverse: Reverses a given string.
    • fizzbuzz: Implements the FizzBuzz logic.

Getting Started

Prerequisites

Before you begin, ensure you have Ruby installed on your machine

Setup

Clone the repository to your local machine.

  git clone https://github.com/richie1988/Test_Driven_Development.git

Install

Run bundle install to install the required dependencies.

Usage

Execute the tests using the command rspec.

  rspec spec spec/solver_spec.rb

Authors

This project was developed by: Richard Sikaonga and Nelly Telli

Future Features

No planned future features at this time. The project is complete and functional, but open to community contributions and suggestions for improvements.

Contributing

Contributions are welcome. Feel free to open an issue or create a pull request. or create a new fork.

Show your support

Give a ⭐️ if you found this project interesting.

Acknowledgements

We would like to acknowledge the contributions and support of the open-source community in making this project possible.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages