{"id":15101688,"url":"https://github.com/fmanimashaun/tdd_project","last_synced_at":"2026-01-18T23:01:29.864Z","repository":{"id":207919713,"uuid":"720420917","full_name":"fmanimashaun/TDD_project","owner":"fmanimashaun","description":"The Test-Driven Development (TDD) Project is a hands-on exercise in implementing the principles of TDD using Ruby. The project involves creating a Solver class with methods such as factorial, reverse, and fizzbuzz, with the unique aspect being that tests are written before the code. This project serves as a practical experience in writing tests fir","archived":false,"fork":false,"pushed_at":"2023-11-18T18:57:27.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-04-05T11:13:58.771Z","etag":null,"topics":["rspec","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/fmanimashaun.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-11-18T12:41:40.000Z","updated_at":"2023-11-18T12:56:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b3bdeff-086d-446f-b336-eaa52c954db4","html_url":"https://github.com/fmanimashaun/TDD_project","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":0.12,"last_synced_commit":"7920ca11451200d23e9fc750699211f8836240c5"},"previous_names":["fmanimashaun/tdd_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmanimashaun%2FTDD_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmanimashaun%2FTDD_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmanimashaun%2FTDD_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmanimashaun%2FTDD_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmanimashaun","download_url":"https://codeload.github.com/fmanimashaun/TDD_project/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247325696,"owners_count":20920714,"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","ruby"],"created_at":"2024-09-25T18:28:23.958Z","updated_at":"2026-01-18T23:01:29.828Z","avatar_url":"https://github.com/fmanimashaun.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TDD project\n\n\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003c!-- TABLE OF CONTENTS --\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  - [Usage](#usage)\n- [👥 Authors](#authors)\n- [🔭 Future Features](#future-features)\n- [🤝 Contributing](#contributing)\n- [⭐️ Show your support](#support)\n- [🙏 Acknowledgements](#acknowledgements)\n- [📝 License](#license)\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n## 📖 TDD project \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\nThe Test-Driven Development (TDD) Project is a hands-on exercise in implementing the principles of TDD using Ruby. The project involves creating a Solver class with methods such as factorial, reverse, and fizzbuzz, with the unique aspect being that tests are written before the code. This project serves as a practical experience in writing tests first and then developing software that passes these tests, adhering to best practices for Ruby and professional documentation.\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n- Ruby\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eServer\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003eRuby\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eTest Suite\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003eRspec\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003c!-- Features --\u003e\n\n### Key Feature \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- **Test-Driven Development:** This project is built using the principles of Test-Driven Development (TDD), ensuring robust and reliable code.\n- **Solver Class:** The Solver class includes methods for common operations such as factorial calculation, string reversal, and the FizzBuzz problem.\n- **Factorial Method:** The factorial method calculates the factorial of a number, handling edge cases such as negative numbers and zero.\n- **Reverse Method:** The reverse method takes a string and returns it reversed, providing a handy utility for string manipulation.\n- **FizzBuzz Method:** The fizzbuzz method implements the popular FizzBuzz problem, returning ‘fizz’, ‘buzz’, ‘fizzbuzz’, or the number itself based on the input.\n- **Error Handling:** The project includes error handling for invalid inputs, raising exceptions where appropriate.\nComprehensive Testing: Each method in the Solver class has corresponding tests, ensuring that all functionalities work as expected.\n- **Best Practices:** The project follows best practices for Ruby, including consistent naming conventions, clear code comments, and proper use of data structures.\n\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- Getting Started --\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\nTo get started with the project, follow the steps below.\n\n### Prerequisites\n\nTo run this project, ensure you have the following installed:\n\n- [Git](https://git-scm.com/)\n- [Ruby](https://www.ruby-lang.org/en/)\n- A code editor (e.g., [VsCode](https://code.visualstudio.com/))\n\n### Setup\n\nClone the repository to your local machine:\n\n```bash\ngit clone https://github.com/fmanimashaun/tdd_project.git\n```\n\n### Usage\n\nTo run the program, you can use a Ruby interpreter. For example, to interact with the code, use the following:\n\n```ruby\nirb\n```\n\nThen, load the required files and start using the classes.\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- AUTHORS --\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Fisayo Michael Animashaun**\n\n- GitHub: [@fmanimashaun](https://github.com/fmanimashaun)\n- Twitter: [@fmanimashaun](https://twitter.com/fmanimashaun)\n- LinkedIn: [Fisayo Michael Animashaun ](https://linkedin.com/in/fmanimashaun)\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- FUTURE FEATURES --\u003e\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n- [Add your future feature ideas here.]\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\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.\n\nhttps://github.com/fmanimashaun/school_library/issues\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- Show your support --\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nIf you like this project leave a start for it.\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- ACKNOWLEDGEMENTS --\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\nI'd like to thank Microverse for helping us in the journey to become a Fullstack developer.\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\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\"\u003e👆\u003c/a\u003e\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmanimashaun%2Ftdd_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmanimashaun%2Ftdd_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmanimashaun%2Ftdd_project/lists"}