Skip to content

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

Notifications You must be signed in to change notification settings

tsheporamantso/TDD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages