{"id":17441459,"url":"https://github.com/farlee2121/testingpatterns","last_synced_at":"2025-04-19T11:03:00.603Z","repository":{"id":110322517,"uuid":"123972110","full_name":"farlee2121/TestingPatterns","owner":"farlee2121","description":"This project is to record and share patterns and libraries that make testing easier, descriptive and  resilient","archived":false,"fork":false,"pushed_at":"2020-07-08T19:07:03.000Z","size":137,"stargazers_count":5,"open_issues_count":21,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T07:21:42.086Z","etag":null,"topics":["architectural-patterns","bogus","c-sharp","dependency-injection","example-project","ninject","testing-practices"],"latest_commit_sha":null,"homepage":"https://20xtesting.slides.spencerfarley.com","language":"C#","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/farlee2121.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-03-05T20:05:20.000Z","updated_at":"2022-06-24T05:41:06.000Z","dependencies_parsed_at":"2023-04-03T15:32:07.954Z","dependency_job_id":null,"html_url":"https://github.com/farlee2121/TestingPatterns","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/farlee2121%2FTestingPatterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farlee2121%2FTestingPatterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farlee2121%2FTestingPatterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farlee2121%2FTestingPatterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farlee2121","download_url":"https://codeload.github.com/farlee2121/TestingPatterns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249679370,"owners_count":21309953,"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":["architectural-patterns","bogus","c-sharp","dependency-injection","example-project","ninject","testing-practices"],"created_at":"2024-10-17T15:23:54.298Z","updated_at":"2025-04-19T11:03:00.585Z","avatar_url":"https://github.com/farlee2121.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TestingPatterns\n\nThis project is to record and share patterns and libraries that make testing \n- easier\n- more resilient\n- more powerful\n- more descriptive\n\nAs a result, it also demonstrates many other patterns and libraries that enable good development practices. \n\nHere is the presentation the triggered the project: https://20xtesting.slides.spencerfarley.com\n\nHere is a presentation that describes the design philosphies: https://1drv.ms/b/s!AjVvNQ4uturOby6OwKMFpMUlMqA\n\nThis project is very much overkill for a Todo list. However, the overkill is to demonstrate the patterns in a way that can easily be transfered to a large project\n\nTesting Patterns\n- Dependency Injection\n- DataPrep (centralized test data generators)\n- ConfigWrappers //pending\n- Inconclusive tests to mark untested code\n- Test name modification for test runner (display extra info without manually adding it to each test name)\n- Unit/Integration test reuse\n\nTesting Libraries\n- JustMock (test dependency generator; https://www.telerik.com/products/mocking.aspx)\n  - alternatives: Moq, MSFakes, RhinoMocks\n- DeepEqual (https://github.com/jamesfoster/DeepEqual)\n  - alternatives: NUnit.DeepObjectCompare (https://github.com/PolarbearDK/NUnit.DeepObjectCompare)\n- Bogus (https://github.com/bchavez/Bogus)\n  - alternatives: AutoFixture\n- .NET Transactions TransactionScope\n- NUnit\n  - alternatives: MSTest\n\nExample Build Pipeline: https://spencerfarley.visualstudio.com/TestingPatterns/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarlee2121%2Ftestingpatterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarlee2121%2Ftestingpatterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarlee2121%2Ftestingpatterns/lists"}