tsheporamantso / TDD

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solver

πŸ“— Table of Contents

πŸ“– Solver

Solver is a class with 3 methods. The first method factorial takes an integer and returns the factorial, second method reverse takes a string and return it in reverse and the third method fizzbuzz takes a integer and return strings. All these methods are implemented using TDD, the idea is to write test first and then code.

πŸ›  Built With

Tech Stack

Server Rspec

Key Features

  • Factorial of inters
  • Reverse a string
  • Modulus of integer and return string

(back to top)

πŸ’» Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • Install ruby using link

Setup

Clone this repository to your desired folder:

  mkdir folder_name
  cd folder_name
  git clone git@github.com:tsheporamantso/TDD.git

Install

Install this project with:

  bundle install
  rspec install

Usage

To run the project, execute the following command: run the result on the terminal through:

  rspec ./spec/solver.rb

Run tests

No tests available.

(back to top)

πŸ‘₯ Authors

πŸ‘€ Gladwin Tshepo Ramantso

πŸ‘€ Aung Pyae Khant

(back to top)

πŸ”­ Future Features

  • Add basic UI
  • Refactor code
  • Deployment on gitpages

(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 please give a star on github & follow us on twitter and also connect on Linkedin.

(back to top)

πŸ™ Acknowledgments

I would like to thank:

  • Microverse and all the staff
  • Microverse Communinity
  • Thanks to my coding Partners
  • Thanks to my Morning-Session-Group and Standup-Team Partners and
  • Thanks to Code Reviewers

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

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

License:MIT License


Languages

Language:Ruby 100.0%