{"id":17435105,"url":"https://github.com/eccb7/ruby-tdd","last_synced_at":"2026-04-15T07:35:27.631Z","repository":{"id":197453311,"uuid":"698681136","full_name":"Eccb7/Ruby-TDD","owner":"Eccb7","description":"This project is designed to help you learn and practice Test-Driven Development (TDD) in Ruby. You will create a class called Solver and implement various methods while following the TDD approach.","archived":false,"fork":false,"pushed_at":"2023-09-30T17:43:22.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-08-06T10:25:11.181Z","etag":null,"topics":["rspec","rspec-tests","ruby"],"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/Eccb7.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}},"created_at":"2023-09-30T16:30:32.000Z","updated_at":"2024-02-01T12:43:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ee7754b-cf53-48d1-b53e-2c46c1e6d177","html_url":"https://github.com/Eccb7/Ruby-TDD","commit_stats":null,"previous_names":["eccb7/ruby-tdd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Eccb7/Ruby-TDD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eccb7%2FRuby-TDD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eccb7%2FRuby-TDD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eccb7%2FRuby-TDD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eccb7%2FRuby-TDD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eccb7","download_url":"https://codeload.github.com/Eccb7/Ruby-TDD/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eccb7%2FRuby-TDD/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399628,"owners_count":25980330,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","rspec-tests","ruby"],"created_at":"2024-10-17T09:44:19.171Z","updated_at":"2025-10-05T01:32:02.831Z","avatar_url":"https://github.com/Eccb7.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\u003cb\u003eRuby Test Driven Development (TDD) Project\u003c/b\u003e\u003c/h3\u003e\n\u003c/div\u003e\n\n# 📗 Table of Contents\n\n- [📖 About the Project](#about-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  - [Usage](#usage)\n  - [Run Tests](#run-tests)\n- [👥 Authors](#authors)\n- [🔭 Future Features](#future-features)\n- [🤝 Contributing](#contributing)\n- [⭐️ Show Your Support](#support)\n- [🙏 Acknowledgements](#acknowledgements)\n\n# 📖 About the Project \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\nWelcome to the **Ruby TDD Project**! This project is designed to help you learn and practice Test-Driven Development (TDD) in Ruby. You will create a class called `Solver` and implement various methods while following the TDD approach.\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\u003eLanguage\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.ruby-lang.org/\"\u003eRuby\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- Implement a class called `Solver`.\n- Create a `factorial` method that calculates the factorial of a given integer `N`, handling edge cases and raising exceptions for negative integers.\n- Implement a `reverse` method that reverses a given string.\n- Create a `fizzbuzz` method that follows specific rules for returning strings based on divisibility by 3 and 5.\n- Emphasize the TDD approach by writing tests first for all methods.\n\n# 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\nTo get started with the Ruby TDD Project, follow these steps:\n\n### Prerequisites \u003ca name=\"prerequisites\"\u003e\u003c/a\u003e\n\nBefore you begin, ensure you have Ruby installed on your system. You can check if Ruby is installed by running the following command in your terminal:\n\n```sh\nruby -v\n```\n\n### Setup \u003ca name=\"setup\"\u003e\u003c/a\u003e\n\nExample commands:\n\n```sh\n  cd my-folder\n  git clone https://github.com/Eccb7/Ruby-TDD\n```\n-\n### Install \u003ca name=\"install\"\u003e\u003c/a\u003e\n\nExample command:\n\n```sh\n  cd Ruby-TDD\n```\n\n### Run tests \u003ca name=\"run-tests\"\u003e\u003c/a\u003e\n\nExample command:\n\n```sh\n  rspec\n```\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Ojwang Briton**\n\n- GitHub: [@Eccb7](https://github.com/Eccb7)\n- Twitter: [@briton_otieno4](https://twitter.com/briton_otieno4)\n- LinkedIn: [briton-otieno](https://linkedin.com/in/briton-otieno)\n\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n1. **Behavior-Driven Development (BDD)**: Extend TDD to include BDD principles, using tools like Cucumber or RSpec with feature tests and scenarios written in plain language.\n2. **Test Data Management**: Implement strategies for managing test data effectively, including fixtures, factories, or database snapshots, to ensure consistent and repeatable tests.\n\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the issues page.\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\nIf you like this project, give it a ⭐️\n\n## 🙏 Acknowledgements \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\nI would like to thank microverse for the support they have provided\n\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./LICENSE) licensed.\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feccb7%2Fruby-tdd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feccb7%2Fruby-tdd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feccb7%2Fruby-tdd/lists"}