{"id":19168412,"url":"https://github.com/bloomberg/tdd-labs","last_synced_at":"2025-05-07T14:41:54.672Z","repository":{"id":66125224,"uuid":"303807170","full_name":"bloomberg/tdd-labs","owner":"bloomberg","description":"Problems and Solutions for Test-Driven-Development training","archived":false,"fork":false,"pushed_at":"2023-07-11T23:05:23.000Z","size":1731,"stargazers_count":9,"open_issues_count":10,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T23:31:58.906Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bloomberg.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":"2020-10-13T19:22:39.000Z","updated_at":"2023-10-06T10:19:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb4c66f0-57da-489a-81f7-786f6097b509","html_url":"https://github.com/bloomberg/tdd-labs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Ftdd-labs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Ftdd-labs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Ftdd-labs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bloomberg%2Ftdd-labs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bloomberg","download_url":"https://codeload.github.com/bloomberg/tdd-labs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252897435,"owners_count":21821437,"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-09T09:42:34.459Z","updated_at":"2025-05-07T14:41:54.649Z","avatar_url":"https://github.com/bloomberg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TDD Labs\n\nProblems and solutions for TDD labs.\n\n## Labs\n\nCurrently we have the following labs:\n\n* [test-leapyear](leap-year/README.md) - Leap Year\n* [test-income-tax](income-tax/README.md) - Income tax calculator\n\n# How To Test-Drive\n\n* Develop iteratively\n* Follow the TDD cycle of __RED, GREEN, REFACTOR__\n    - __RED__ - Think of one simple example of how the system should be used\n    - __GREEN__ - Add just enough code to make the test pass\n    - __REFACTOR__ - Make the system code as well as tests easier to change.\n* If working in a group or pairs, it's common for _each participant to do a full TDD cycle, rotating after a failing test_ has been written.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomberg%2Ftdd-labs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbloomberg%2Ftdd-labs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbloomberg%2Ftdd-labs/lists"}