/practice-tdd_ruby

The concept of Test Driven Development is explored using RSpec framework in Ruby

Primary LanguageRuby

TDD project

Description 🏗️

Practice Test Driven Development by writing tests before code that makes it work

Built With

  • Ruby

Getting Started 🏁

Prerequisites 📜

You will be needing:

  • A terminal terminal
  • A code editor
  • Ruby (follow the instruction based on your OS)
https://www.ruby-lang.org/en/documentation/installation/

Setup

Clone this repository

git clone https://github.com/OyePriscilla/TDD_Project.git

Move into the directory with

cd TDD_Project

Install linter

bundle install

Run linter

rubocop .

Auto-correct

In auto-correct mode, RuboCop will try to automatically fix offenses:

rubocop -A
rubocop --auto-correct-all

Run Tests

``. rspec spec/ or rspec spec/solver_spec.rb

## Authors

👤 **Esi Ogagaoghene**

- GitHub: [ogagaoghene](https://github.com/ogagaoghene)
- Twitter: [@esi_ogaga](https://twitter.com/esi_ogaga)
- LinkedIn: [ogagaoghene-esi](https://linkedin.com/in/ogagaoghene-esi

👤 **Oyebade Prisicilla**

* GitHub: [@OyePriscilla](https://github.com/OyePriscilla)
* Twitter: [@Prisicilla](https://twitter.com/Prisicilla)
* LinkedIn: [Priscilla](https://linkedin.com/in/oyepriscilla)

## 🤝 Contributors

Contributions, issues, and feature requests are greatly appreciated!

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "improvements".

- Fork the Project
- Create your Feature Branch (git checkout -b feature/yourfeaturename)
- Commit your Changes (git commit -m 'Add suggested feature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request

## 📝 License

This project is licensed by [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

## Show your support 💪
Give a ⭐️ if you like this project!

## Acknowledgments

- Hat tip to anyone whose code was used