/TDD-Ruby

this project implement a class with some methods, but it do it by creating test-driven development (TDD). The idea is to write tests first and then the code.

Primary LanguageRubyMIT LicenseMIT

TDD on Ruby

πŸ“— Table of Contents

πŸ“– TDD with Ruby

TDD with Ruby this project implement a class with some methods, but it do it by creating test-driven development (TDD). The idea is to write tests first and then the code.

πŸ›  Built With

Tech Stack

Ruby
Decorator pattern

Key Features

  • Class Solver

  • Public methods: factorial, reverse, fizzbuzz

  • Use decorator pattern

(back to top)

πŸ’» Getting Started

This repository includes files with ruby lenguage.

Prerequisites

In order to run this project you need to have Ruby installed, check this documentation in order to know how to install it.

Setup

Clone this repository to your desired folder:

  cd my-folder https://github.com/Zven94/TDD-Ruby/tree/develop
  git clone

Usage

To run the project, execute the command ruby name_file.rb. Example:

  ruby tests.rb

To run the app in the basic console UI, execute the command:

  ruby main.rb

To check the linters you can use the command:

  rubocop

To fix the linter use:

  rubocop --fix

(back to top)

πŸ‘₯ Author

πŸ‘€ Andrea Manuel

πŸ‘€ Nicolas BolaΓ±ez

πŸ‘€ Javier Grau

(back to top)

πŸ”­ Future Features

  • Unit tests: The final project involves creating unit tests to ensure the functionality and robustness of the app.

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project you could clone the repo and work with it or do the changes in a new branch. Also you could let a message with your thoughts.

(back to top)

πŸ™ Acknowledgments

I would like to thank Microverse for providing the necessary resources for this project.

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)