{"id":16131116,"url":"https://github.com/brandoncardoso/test-driven-development-examples","last_synced_at":"2025-04-06T14:22:40.972Z","repository":{"id":148567593,"uuid":"594395620","full_name":"brandoncardoso/test-driven-development-examples","owner":"brandoncardoso","description":"Code and process from 'Test-Driven Development by Example' by Kent Beck, in typescript.","archived":false,"fork":false,"pushed_at":"2023-01-28T18:59:03.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T20:30:05.367Z","etag":null,"topics":["example-code","tdd","test-driven-development","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brandoncardoso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-28T12:24:42.000Z","updated_at":"2023-02-01T00:05:33.000Z","dependencies_parsed_at":"2023-05-20T13:46:37.183Z","dependency_job_id":null,"html_url":"https://github.com/brandoncardoso/test-driven-development-examples","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/brandoncardoso%2Ftest-driven-development-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandoncardoso%2Ftest-driven-development-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandoncardoso%2Ftest-driven-development-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandoncardoso%2Ftest-driven-development-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandoncardoso","download_url":"https://codeload.github.com/brandoncardoso/test-driven-development-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492845,"owners_count":20947596,"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":["example-code","tdd","test-driven-development","typescript"],"created_at":"2024-10-09T22:19:15.811Z","updated_at":"2025-04-06T14:22:40.921Z","avatar_url":"https://github.com/brandoncardoso.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test Driven Development (TDD) Examples\nExamples from \"Test-Driven Development By Example\" by Kent Beck, in typescript.\n\nEach commit is one step in the TDD process, as described in the book. There is a branch for each part/chapter, see the READMEs in the related src directory. \n\nThe commits in this repository do not reflect proper git usage while following TDD. You should probably not commit purposefully failing tests or code that does not compile, especially if you are working on the same repository/branch as other people.\n\n## Setup\nTo get started, run `npm install` to install all dependencies.\n\n### Part 1\nRun tests with `npm run test:part1` or `npm run test:part1:dev` to automatically run tests after new changes.\n\n### Part 2\n\"Part 2: The xUnit Problem\" involves creating our own testing framework, so has separate commands to run the tests that don't use mocha.\n\nRun the tests with `npm run test:part2` or `npm run test:part2:dev` to automatically run tests after new changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandoncardoso%2Ftest-driven-development-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandoncardoso%2Ftest-driven-development-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandoncardoso%2Ftest-driven-development-examples/lists"}