{"id":19884697,"url":"https://github.com/microverse-fullstack-program/ruby-tdd-exercise","last_synced_at":"2025-08-01T16:37:47.529Z","repository":{"id":171899855,"uuid":"648512345","full_name":"Microverse-Fullstack-Program/ruby-tdd-exercise","owner":"Microverse-Fullstack-Program","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-02T20:04:29.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-01-11T18:41:34.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Microverse-Fullstack-Program.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-06-02T06:32:18.000Z","updated_at":"2023-06-04T11:39:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"38c5e68d-0f26-4ad7-9cb0-c6688547419f","html_url":"https://github.com/Microverse-Fullstack-Program/ruby-tdd-exercise","commit_stats":null,"previous_names":["microverse-fullstack-program/ruby-tdd-exercise"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Microverse-Fullstack-Program%2Fruby-tdd-exercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Microverse-Fullstack-Program%2Fruby-tdd-exercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Microverse-Fullstack-Program%2Fruby-tdd-exercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Microverse-Fullstack-Program%2Fruby-tdd-exercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Microverse-Fullstack-Program","download_url":"https://codeload.github.com/Microverse-Fullstack-Program/ruby-tdd-exercise/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241313188,"owners_count":19942416,"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":[],"created_at":"2024-11-12T17:29:02.946Z","updated_at":"2025-03-01T03:42:52.816Z","avatar_url":"https://github.com/Microverse-Fullstack-Program.png","language":"Ruby","readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003e\u003cb\u003eTest Driven Design/TDD\u003c/b\u003e\u003c/h3\u003e\n\u003c/div\u003e\n\n# 📗 Table of Contents\n- [📗 Table of Contents](#-table-of-contents)\n- [📖 OOP School Library ](#-oop-school-library-)\n  - [🛠 Built With ](#-built-with-)\n    - [Tech Stack ](#tech-stack-)\n    - [Key Features ](#key-features-)\n  - [🚀 Live Demo ](#-live-demo-)\n  - [💻 Getting Started ](#-getting-started-)\n    - [Prerequisites](#prerequisites)\n    - [Setup](#setup)\n    - [Install](#install)\n    - [Usage](#usage)\n    - [Run tests](#run-tests)\n    - [Deployment](#deployment)\n  - [👥 Authors ](#-authors-)\n  - [🔭 Future Features ](#-future-features-)\n  - [🤝 Contributing ](#-contributing-)\n  - [⭐️ Show your support ](#️-show-your-support-)\n  - [🙏 Acknowledgments ](#-acknowledgments-)\n  - [❓ FAQ ](#-faq-)\n  - [📝 License ](#-license-)\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n# 📖 est Driven Design/TDD in Ruby \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\n**Test Driven Design/TDD Project** Is about a software development approach that emphasizes writing tests before writing the actual code. The process begins by creating a test that defines the desired behavior of a specific piece of functionality. Initially, the test will fail since the corresponding code does not exist. Developers then implement the code necessary to make the test pass, and refactor it as needed to improve its design and maintainability. The cycle of writing tests, implementing code, and refactoring is repeated for each desired feature or change. TDD promotes a systematic and incremental development process that ensures code is thoroughly tested and meets the specified requirements.\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\u003e The tech stack in this project includes.\n\n\u003cdetails\u003e\n  \u003csummary\u003eRuby\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://ruby.org/\"\u003eRuby\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eRspec\u003c/summary\u003e\n    \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"http://rspec.info/\"\u003eRuby\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003c!-- Features --\u003e\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- **Automated tests:** The project will have a comprehensive suite of automated tests covering different aspects of the codebase. These tests are executed regularly to catch any regressions or issues that may arise during development.\n\n- **Incremental development:** TDD promotes an incremental approach where functionality is implemented in small increments. Each increment is driven by a failing test, ensuring that new code is only added to satisfy specific requirements.\n\n- **Clear specification:** Tests serve as a specification for the desired behavior of the code. They act as living documentation, providing clear examples of how the code should behave in different scenarios.\n\n- **Improved code quality:** Writing tests before code encourages developers to think about design, modularity, and the desired API of the code. This often leads to more maintainable and loosely coupled code.\n\n- **Refactoring support:** TDD encourages regular refactoring to improve code quality without introducing bugs. With a suite of tests in place, developers can confidently refactor their code, knowing that any regression issues will be caught by the tests.\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- LIVE DEMO --\u003e\n\n## 🚀 Live Demo \u003ca name=\"live-demo\"\u003e\u003c/a\u003e\n\n- Not available\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\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 a local copy up and running, follow these steps.\n\n### Prerequisites\n\nIn order to run this project you need: **Ruby and Rspec installed**.\n\n```sh\n gem install ruby\n```\n\n### Setup\n\n- Clone [this repository](https://github.com/Microverse-Fullstack-Program/ruby-tdd-exercise) to your desired folder.\n- Alternatively, you can download the zip file of your project by clicking on the Code button on the right side of your project page and clicking on Download ZIP\n\n### Install\n\nInstall this project with: \n\n```sh\n  cd my-project\n  gem install ruby\n  gem install rspec\n```\n\n### Usage\n\nTo run the project, execute the following command:\n\n- Install Ruby.\n- Install Ruby Gem.\n- Install Rspec\n\n\n### Run tests\n\nTo run tests, run the following command: **Not available**.\n\n\u003c!--\nExample command:\n\n```sh\n  bin/rails test test/models/article_test.rb\n```\n---\u003e\n\n### Deployment\n\nYou can deploy this project using: **Not available**.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- AUTHORS --\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Chere Lemma**\n\n- GitHub: [@githubhandle](https://github.com/cherelemma)\n- Twitter: [@twitterhandle](https://twitter.com/Chere21271613)\n- LinkedIn: [LinkedIn](https://www.linkedin.com/in/chere-lemma27211613)\n\n👤 **Henry Omondi**\n\n- GitHub: [@githubhandle](https://github.com/Odongo006)\n- Twitter: [@twitterhandle](twitter.com/HenryOdongo007)\n- LinkedIn: [LinkedIn](https://www.linkedin.com/in/henry-odongo/)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- FUTURE FEATURES --\u003e\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\nIn the future work, \n- [ ] **Add more TDD examples**\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\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](https://github.com/Microverse-Fullstack-Program/ruby-tdd-exercise/issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- SUPPORT --\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\n If you like this project give a ⭐️.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- ACKNOWLEDGEMENTS --\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\nI would like to thank [Microverseinc: TDD project requirments\n](https://github.com/microverseinc/curriculum-transversal-skills/blob/main/testing/tdd_project.md) for the project requirment.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- FAQ (optional) --\u003e\n\n## ❓ FAQ \u003ca name=\"faq\"\u003e\u003c/a\u003e\n\n- **For what purpose this project can be used**\n\n  - The project can be used to learn and get hand on exprience on TDD coding in RUBY.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\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\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicroverse-fullstack-program%2Fruby-tdd-exercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicroverse-fullstack-program%2Fruby-tdd-exercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicroverse-fullstack-program%2Fruby-tdd-exercise/lists"}