{"id":20955238,"url":"https://github.com/tsheporamantso/tdd","last_synced_at":"2026-05-20T00:05:09.079Z","repository":{"id":207618644,"uuid":"719680269","full_name":"tsheporamantso/TDD","owner":"tsheporamantso","description":"In this project we will implement a class with some methods, but we will do it by doing test-driven development (TDD). The idea is to write tests first and then the code.","archived":false,"fork":false,"pushed_at":"2023-11-17T12:28:34.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-01-19T23:33:30.004Z","etag":null,"topics":["rspec-testing","ruby","ruby-gem","tdd-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/tsheporamantso.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-16T17:18:47.000Z","updated_at":"2023-11-17T12:28:40.000Z","dependencies_parsed_at":"2023-11-16T18:46:37.065Z","dependency_job_id":"14ca8938-a7a7-477a-bc16-94d3d07f4e73","html_url":"https://github.com/tsheporamantso/TDD","commit_stats":null,"previous_names":["tsheporamantso/tdd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsheporamantso%2FTDD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsheporamantso%2FTDD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsheporamantso%2FTDD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsheporamantso%2FTDD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsheporamantso","download_url":"https://codeload.github.com/tsheporamantso/TDD/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243351862,"owners_count":20276911,"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","ruby-gem","tdd-ruby"],"created_at":"2024-11-19T01:18:39.004Z","updated_at":"2025-12-30T00:32:08.530Z","avatar_url":"https://github.com/tsheporamantso.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  \u003ch3\u003e\u003cb\u003eSolver\u003c/b\u003e\u003c/h3\u003e\n\n\u003c/div\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  - [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- [❓ FAQ (OPTIONAL)](#faq)\n- [📝 License](#license)\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n# 📖 Solver \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\n**Solver** is a class with 3 methods. The first method `factorial` takes an integer and returns the factorial, second method `reverse` takes a string and return it in reverse and the third method `fizzbuzz` takes a integer and return strings. All these methods are implemented using TDD, the idea is to write test first and then code. \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\u003eServer\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.ruby-lang.org/en/\"\u003eRuby\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003csummary\u003eRspec\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://rspec.info/\"\u003eRspec\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- **Factorial of inters**\n- **Reverse a string**\n- **Modulus of integer and return string**\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:\n\n- Install ruby using [link](https://www.ruby-lang.org/en/documentation/installation/#apt)\n\n### Setup\n\nClone this repository to your desired folder:\n\n```sh\n  mkdir folder_name\n  cd folder_name\n  git clone git@github.com:tsheporamantso/TDD.git\n```\n\n### Install\n\nInstall this project with:\n\n```sh\n  bundle install\n```\n\n```sh\n  rspec install\n```\n\n### Usage\n\nTo run the project, execute the following command:\nrun the result on the terminal through:\n\n```sh\n  rspec ./spec/solver.rb\n```\n\n### Run tests\n\nNo tests 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👤 **Gladwin Tshepo Ramantso**\n\n- GitHub: [@tsheporamantso](https://github.com/tsheporamantso)\n- Twitter: [@ramgt001](https://twitter.com/ramgt001)\n- LinkedIn: [Tshepo Gladwin Ramantso](https://www.linkedin.com/in/tshepo-ramantso-b6a35433/)\n\n👤 **Aung Pyae Khant**\n\n- GitHub: [@lilskyex0x](https://github.com/lilskyex0x)\n- Twitter: [@Aung Pyae Khant](https://twitter.com/LilSn0w45)\n- LinkedIn: [Aung Pyae Khant](www.linkedin.com/in/aung-pyae-khant-932342251)\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\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n- [ ] **Add basic UI**\n- [ ] **Refactor code**\n- [ ] **Deployment on gitpages**\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/tsheporamantso/TDD/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\nIf you like this project please give a star on [github](https://github.com/tsheporamantso/OOP-School-Library) \u0026 follow us on [twitter](https://twitter.com/ramgt001) and also connect on [Linkedin](https://www.linkedin.com/in/tshepo-ramantso-b6a35433/).\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:\n\n- [ ] **Microverse and all the staff**\n- [ ] **Microverse Communinity**\n- [ ] **Thanks to my coding Partners**\n- [ ] **Thanks to my Morning-Session-Group and Standup-Team Partners and**\n- [ ] **Thanks to Code Reviewers**\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](https://github.com/tsheporamantso/TDD/blob/32acef919148ae0de8ffa52336e15e78a9d27f6a/LICENSE) licensed.\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%2Ftsheporamantso%2Ftdd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsheporamantso%2Ftdd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsheporamantso%2Ftdd/lists"}