{"id":19938261,"url":"https://github.com/2kabhishek/stringcalculatortdd","last_synced_at":"2026-05-13T00:33:16.786Z","repository":{"id":100262716,"uuid":"370934591","full_name":"2KAbhishek/StringCalculatorTDD","owner":"2KAbhishek","description":"Learning TDD with StringCalculator 🧪🧮","archived":false,"fork":false,"pushed_at":"2023-05-09T05:46:25.000Z","size":115,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T12:48:15.249Z","etag":null,"topics":["tdd","tdd-java","tdd-kata","test-driven-development"],"latest_commit_sha":null,"homepage":"https://2kabhishek.github.io/StringCalculatorTDD","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2KAbhishek.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},"funding":{"github":"2kabhishek"}},"created_at":"2021-05-26T06:49:28.000Z","updated_at":"2024-08-07T14:05:53.000Z","dependencies_parsed_at":"2023-05-13T06:30:11.188Z","dependency_job_id":null,"html_url":"https://github.com/2KAbhishek/StringCalculatorTDD","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"2KAbhishek/bare-minimum","purl":"pkg:github/2KAbhishek/StringCalculatorTDD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2FStringCalculatorTDD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2FStringCalculatorTDD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2FStringCalculatorTDD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2FStringCalculatorTDD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2KAbhishek","download_url":"https://codeload.github.com/2KAbhishek/StringCalculatorTDD/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2FStringCalculatorTDD/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32963163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["tdd","tdd-java","tdd-kata","test-driven-development"],"created_at":"2024-11-12T23:39:00.978Z","updated_at":"2026-05-13T00:33:16.779Z","avatar_url":"https://github.com/2KAbhishek.png","language":"Java","funding_links":["https://github.com/sponsors/2kabhishek"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align = \"center\"\u003e\n\n\u003ch1\u003e\u003ca href=\"https://2kabhishek.github.io/StringCalculatorTDD\"\u003eStringCalculatorTDD\u003c/a\u003e\u003c/h1\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/StringCalculatorTDD/blob/main/LICENSE\"\u003e\n\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/2kabhishek/StringCalculatorTDD?style=flat\u0026color=eee\u0026label=\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/StringCalculatorTDD/graphs/contributors\"\u003e\n\u003cimg alt=\"People\" src=\"https://img.shields.io/github/contributors/2kabhishek/StringCalculatorTDD?style=flat\u0026color=ffaaf2\u0026label=People\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/StringCalculatorTDD/stargazers\"\u003e\n\u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/2kabhishek/StringCalculatorTDD?style=flat\u0026color=98c379\u0026label=Stars\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/StringCalculatorTDD/network/members\"\u003e\n\u003cimg alt=\"Forks\" src=\"https://img.shields.io/github/forks/2kabhishek/StringCalculatorTDD?style=flat\u0026color=66a8e0\u0026label=Forks\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/StringCalculatorTDD/watchers\"\u003e\n\u003cimg alt=\"Watches\" src=\"https://img.shields.io/github/watchers/2kabhishek/StringCalculatorTDD?style=flat\u0026color=f5d08b\u0026label=Watches\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/StringCalculatorTDD/pulse\"\u003e\n\u003cimg alt=\"Last Updated\" src=\"https://img.shields.io/github/last-commit/2kabhishek/StringCalculatorTDD?style=flat\u0026color=e06c75\u0026label=\"\u003e \u003c/a\u003e\n\n\u003ch3\u003eLearning TDD with StringCalculator 🧪🧮\u003c/h3\u003e\n\n\u003c/div\u003e\n\n## Inspiration\n\n`Test Driven Development` or `TDD` is something I was hearing a lot but didn't fully understand.\n\nThis little project is my way of exploring and learning it's fundamentals.\n\n## What it does\n\nStringCalculatorTDD is a project created for TDD beginners as a solution for [TDD Kata 1 - String Calculator](https://osherove.com/tdd-kata-1).\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- You have installed the latest version of `java, testng, maven`\n\n## Exploring StringCalculatorTDD\n\nTo explore StringCalculatorTDD, follow these steps:\n\n```bash\ngit clone https://github.com/2kabhishek/StringCalculatorTDD\ncd StringCalculatorTDD\ncode . # Or any other of your favorite editor\n```\n\n## Using StringCalculatorTDD\n\nAfter cloning the project one good way to learn from it would be using git history.\n\nJust do a `git log` and look at the changes, you can go through the entire process of TDD one step at a time.\n\n## How it was built\n\nStringCalculatorTDD was built using `Java` and `TestNG`, the IDE used was `Eclipse`.\n\n## Challenges faced\n\nWrapping my head around the laws of TDD, which are:\n\n- You are not allowed to write any production code unless it is to make a failing unit test pass.\n- You are not allowed to write any more of a unit test than is sufficient to fail.\n- You are not allowed to write any more production code than is sufficient to pass one failing test.\n\n## What I learned\n\nI learned why TDD is used and how it helps us in producing, bug free maintainable code.\n\nThe cycle of TDD is somewhat as such:\n\n- Write a failing unit test\n- Write code to pass the test\n- Refactor if necessary\n\nI also learned about TestNG, which is a more feature rich equivalent of JUnit.\n\n## What's next\n\nProbably use TDD in more of my future projects.\n\nHit the :star: button if you found this useful.\n\n## More Info\n\n\u003cdiv align=\"center\"\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/StringCalculatorTDD\"\u003eSource\u003c/a\u003e |\n\u003ca href=\"https://2kabhishek.github.io/StringCalculatorTDD\"\u003eWebsite\u003c/a\u003e\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fstringcalculatortdd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2kabhishek%2Fstringcalculatortdd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fstringcalculatortdd/lists"}