Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eduardosancho/tdd

Tests first
https://github.com/eduardosancho/tdd

Last synced: 3 days ago
JSON representation

Tests first

Awesome Lists containing this project

README

        

![](https://img.shields.io/static/v1?label=BY&message=Reemoz&color=pink)
![](https://img.shields.io/static/v1?label=BY&message=eduardosancho&color=green)

## TDD

> Ruby application developed by using a Test Driven approach. Features factorial, reverse_string and factorial methods.

### Requirements
- `ruby` : `^3.0.1` required for running the code.
- `gem` : `^3.2.15` required for linters.
- `rspec` : `^3.11` required for testing.

## Built With

- Languages: _**Ruby, RSpec**_
- Frameworks: _**N/A**_
- Technologies used: _**Git, Rubocop**_

## Getting Started

### Clone this repository

```bash
$ git clone https://github.com/eduardosancho/TDD.git
$ cd TDD

$ bundle install
```
The last command will install all the required tools.


### To run the code
```irb
$ irb
> require './solver.rb'
> solver = Solver.new
> solver.factorial(5)
> solver.reverse_str('australia')
> solver.fizzbuzz(15)
```

Run ```exit``` to quit ``irb``

### To run the tests
```bash
$ rspec spec
```

## Authors

👤 **Reem**

Platform | Badge |
--- | --- |
**GitHub** | [@Reem-lab](https://github.com/Reem-lab)
**Twitter** | [Rem79940127](https://twitter.com/Rem79940127)
**LinkdIn** | [reem-janina](https://www.linkedin.com/in/reem-janina-ab74ab21a/)

👤 **Eduardo Sancho Solano**

Platform | Badge |
--- | --- |
**GitHub** | [@eduardosancho](https://github.com/eduardosancho)
**Twitter** | [@sanchitoblog](https://twitter.com/sanchitoblog)
**LinkdIn** | [Eduardo Sancho Solano](https://www.linkedin.com/in/eduardo-sancho-solano/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

Microverse requirements

## 📝 License

This project is [MIT](./MIT.md) licensed.