{"id":16692863,"url":"https://github.com/martinsos/tdd-by-example","last_synced_at":"2026-05-08T04:05:22.786Z","repository":{"id":149254340,"uuid":"148196853","full_name":"Martinsos/tdd-by-example","owner":"Martinsos","description":"My exercise project following \"Test Drive Development: By Example\" by Kent Beck.","archived":false,"fork":false,"pushed_at":"2018-11-12T23:36:20.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-07T09:52:47.018Z","etag":null,"topics":["bazel","catch2","cpp","tdd"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Martinsos.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":"2018-09-10T17:59:31.000Z","updated_at":"2018-11-08T19:52:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"9bd482c0-35af-48af-b6ac-a02a58b2cb08","html_url":"https://github.com/Martinsos/tdd-by-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Martinsos/tdd-by-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martinsos%2Ftdd-by-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martinsos%2Ftdd-by-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martinsos%2Ftdd-by-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martinsos%2Ftdd-by-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Martinsos","download_url":"https://codeload.github.com/Martinsos/tdd-by-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martinsos%2Ftdd-by-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265198360,"owners_count":23726449,"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":["bazel","catch2","cpp","tdd"],"created_at":"2024-10-12T16:28:40.747Z","updated_at":"2026-05-08T04:05:22.737Z","avatar_url":"https://github.com/Martinsos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tdd-by-example\n\n## Setup\n\n### Bazel\nWe are using Bazel as our build system, so make sure to install `bazel` globally on your machine.\n\n\n## Building\nWe are using [Bazel](https://www.bazel.build/) build system.\nEverything is defined in BUILD files (+ one WORKSPACE file).\nLearn more about Bazel to know how to build specific targets, locate produced binaries and so on.\n\n\n## Tests\nWe are using [Catch2](https://github.com/catchorg/Catch2) test framework.\n\nWhile you can use Bazel to run specific tests, there is `run-tests` script to easily build and run all tests.\nThis runs tests through Bazel, which is recommended way to do it (by Bazel), but we do lose Catch2 output coloring.\n\nIf you want to run it purely through Catch2, without Bazel interfering, you can run binaries that are produced as a result of building Bazel cc_test targets. Let's say you have Bazel cc_test target `my-test`. You can then do: `bazel build //test:my-test` to build the binary and then `bazel-bin/test/my-test` to run it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinsos%2Ftdd-by-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinsos%2Ftdd-by-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinsos%2Ftdd-by-example/lists"}