https://github.com/bondok6/tdd
In this project we will implement a class with some methods, we did it by doing test-driven development (TDD).
https://github.com/bondok6/tdd
rspec ruby tdd
Last synced: about 2 months ago
JSON representation
In this project we will implement a class with some methods, we did it by doing test-driven development (TDD).
- Host: GitHub
- URL: https://github.com/bondok6/tdd
- Owner: Bondok6
- Created: 2022-04-14T19:27:24.000Z (about 4 years ago)
- Default Branch: develop
- Last Pushed: 2022-04-14T21:48:24.000Z (about 4 years ago)
- Last Synced: 2025-06-08T06:08:15.955Z (about 1 year ago)
- Topics: rspec, ruby, tdd
- Language: Ruby
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# TDD
> In this project we will implement a class with some methods, but we will do it by doing test-driven development (TDD).
## Built With
- Ruby
## Getting Started
Check the following instructions to install and use the project in you local machine!
### Prerequisites
To begin with, you need to be able to use the **ruby** command, if you don't have it you can install it using any of these commands:
**MacOS**
```
brew install rbenv ruby-build
# Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
# Install Ruby
rbenv install 3.0.1
rbenv global 3.0.1
ruby -v
```
**Ubuntu**
```
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL
rbenv install 3.0.1
rbenv global 3.0.1
ruby -v
```
**Windows**
Use **[WSL](https://docs.microsoft.com/en-us/windows/wsl/about)**
### Setup
Once you have installed **ruby** you need to clone this project's repository, use this command in your terminal:
```
git clone git@github.com:Bondok6/TDD.git
cd TDD
```
### Usage
To use run the decode method use this command:
```
ruby solver.rb
```
### To Run Test
```bash
> rspec __tests__
```
## Authors
👤 **Kyrillos Hany**
- GitHub: [@Bondok6](https://github.com/Bondok6)
- LinkedIn: [Kyrillos](https://www.linkedin.com/in/kyrillos-hany/)
👤 **Jeff Kayombo**
- GitHub: [@Jeff](https://github.com/JEFFKAY16)
## 🤝 Contributing
Contributions, issues, and feature requests are welcome and highly encouraged!
We feel that your input is what helps us grow so you're always Welcome :)
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!
I would love to hear your thoughts and ideas 🖤
## 📝 License
This project is [MIT](./MIT.md) licensed.