Skip to content

Followed test-driven development (TDD) approach to implement a class and methods

License

Notifications You must be signed in to change notification settings

KanzaTahreem/TDD-Rspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📗 Table of Contents

📖 Test-driven development (TDD) Project

The idea behind test-driven development (TDD) is that tests are not an afterthought. Also, it makes you think about how your code behaves before starting to code.

So the idea behind TDD is simple enough:

  • Write a test.
  • Run the test; it fails.
  • Write code.
  • Run the test; it passes. If it fails go back to step 3.

🛠 Built With

Tech Stack

Client

Key Features

  • factorial Method
  • Reverse Method
  • fizzbuzz Method

(back to top)

🚀 Live Demo

  • N/A

(back to top)

💻 Getting Started

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

  git clone git@github.com:KanzaTahreem/TDD-Rspec
  cd TDD-Rspec

Install

Install thr project dependencies with:

  bundle install

Usage

To run the project, execute the following command:

  ruby [file_name].rb

Run tests

To run tests, run the following command:

  rspec *_rspec.rb

(back to top)

👥 Authors

👤 Author 1

👤 Author 2

(back to top)

🔭 Future Features

  • Add more tests

(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 and want to support me make cooler projects Give this project a Star.

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

Followed test-driven development (TDD) approach to implement a class and methods

Topics

Resources

License

Stars

Watchers

Forks

Languages