{"id":21199137,"url":"https://github.com/nitbravoa92/tdd-project","last_synced_at":"2025-04-13T19:52:56.685Z","repository":{"id":193322753,"uuid":"688498577","full_name":"NitBravoA92/tdd-project","owner":"NitBravoA92","description":"\"TDD Project\" is a program build in ruby that implements three methods of the Solver class using the Test-Driven Development (TDD) approach.","archived":false,"fork":false,"pushed_at":"2023-09-08T20:51:09.000Z","size":9,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-27T10:38:20.530Z","etag":null,"topics":["rspec-testing","ruby","tdd"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NitBravoA92.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-07T13:22:37.000Z","updated_at":"2023-09-19T15:20:37.000Z","dependencies_parsed_at":"2025-01-19T20:34:37.493Z","dependency_job_id":null,"html_url":"https://github.com/NitBravoA92/tdd-project","commit_stats":null,"previous_names":["nitbravoa92/tdd-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NitBravoA92%2Ftdd-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NitBravoA92%2Ftdd-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NitBravoA92%2Ftdd-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NitBravoA92%2Ftdd-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NitBravoA92","download_url":"https://codeload.github.com/NitBravoA92/tdd-project/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248773945,"owners_count":21159523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rspec-testing","ruby","tdd"],"created_at":"2024-11-20T19:57:01.014Z","updated_at":"2025-04-13T19:52:56.663Z","avatar_url":"https://github.com/NitBravoA92.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\u003cb\u003eTDD Project | Ruby\u003c/b\u003e\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\n# 📗 Table of Contents\n\n- [📗 Table of Contents](#-table-of-contents)\n- [TDD Project ](#tdd-project-)\n  - [🛠 Built With ](#-built-with-)\n    - [Tech Stack ](#tech-stack-)\n    - [Key Features ](#key-features-)\n  - [💻 Getting Started ](#-getting-started-)\n    - [Prerequisites](#prerequisites)\n    - [Setup](#setup)\n    - [Install](#install)\n    - [Run tests](#run-tests)\n  - [👥 Authors ](#-authors-)\n  - [🔭 Future Features ](#-future-features-)\n  - [🤝 Contributing ](#-contributing-)\n  - [⭐️ Show your support ](#️-show-your-support-)\n  - [🙏 Acknowledgments ](#-acknowledgments-)\n  - [📝 License ](#-license-)\n\n---\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n# TDD Project \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\n**\"TDD Project\"** is a program build in ruby that implements three methods of the Solver class using the Test-Driven Development (TDD) approach.The three methods are:\n\n- `factorial(number)`: This method returns the factorial of the given number.\n- `reverse(word)`: This method returns the reverse of the given word.\n- `fizzbuzz(number)`: This method returns \"fizz\" if the given number is divisible by 3, \"buzz\" if the given number is divisible by 5, and \"fizzbuzz\" if the given number is divisible by both 3 and 5. If the given number is not divisible by 3 or 5, the method returns the given number as a string.\n\nThe main goal of this project is learning more about the testing in ruby using RSpec and explore the benefits of using the TDD approach in software development.\n\n---\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eRuby\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.ruby-lang.org/en/\"\u003eRuby Official Website\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003csummary\u003eRspec gem\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://rspec.info/\"\u003eOfficial Website\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n---\n\n\u003c!-- Features --\u003e\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n\u003cul\u003e\n  \u003cli\u003eRuby\u003c/li\u003e\n  \u003cli\u003eLinters\n    \u003cul\u003e\n      \u003cli\u003eRubocop\u003c/li\u003e\n    \u003c/ul\u003e\n  \u003c/li\u003e\n  \u003cli\u003eApply TDD to create unit tests\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003c!-- GETTING STARTED --\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\nTo get a local copy up and running, follow these steps.\n\n### Prerequisites\n\nIn order to run this project you need:\n\n\u003cul\u003e\n    \u003cli\u003e\u003cp\u003eA code editor (we recommend Visual Studio Code)\u003c/p\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cul\u003e\n    \u003cli\u003e\u003cp\u003eGit and a GitHub account\u003c/p\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n### Setup\n\nClone this repository to your desired folder by using this 👇️ command :\n\n```\ngit clone https://github.com/NitBravoA92/tdd-project.git\n```\n\n### Install\n\nGo to the project directory:\n\n```\n cd tdd-project\n```\n\nBefore to run the program, verify that you have Ruby installed on your OS running the following command:\n\n```\n ruby -v\n```\n\nIt should show you the version of ruby ​​installed. If this does not happen and only an error message is displayed, then you should either verify your installation or install Ruby from scratch.\n\n[Download and Install Ruby](https://www.ruby-lang.org/en/downloads/)\n\n### Run tests\n\nRun the following command inside the project folder:\n\n```\n rspec spec\n```\n\nThis should display:\n\n```\n 12 examples, 0 failures\n```\n\nThis means that all 12 designed test cases have passed successfully.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003c!-- AUTHORS --\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Nitcelis Bravo**\n\n- GitHub: [Nitcelis Bravo](https://github.com/NitBravoA92)\n- Twitter: [@softwareDevOne](https://twitter.com/softwareDevOne)\n- LinkedIn: [Nitcelis Bravo Alcala](https://www.linkedin.com/in/nitcelis-bravo-alcala-b65340158)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003c!-- FUTURE FEATURES --\u003e\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\nUpcoming improvements:\n\n- [x] Create unit tests following TDD methodology\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/NitBravoA92/tdd-project.git/issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003c!-- SUPPORT --\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nIf you like this project and know someone who might find it helpful, please share it.\nOr give it a **star** ⭐️ if you like this project!\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003c!-- ACKNOWLEDGEMENTS --\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\nI thank Microverse for this fantastic opportunity, and the code reviewers for their advice and time.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n\n\u003c!-- LICENSE --\u003e\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./LICENSE) licensed.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitbravoa92%2Ftdd-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitbravoa92%2Ftdd-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitbravoa92%2Ftdd-project/lists"}