{"id":22065738,"url":"https://github.com/karenpayneoregon/learn-using-unit-test-cs","last_synced_at":"2025-03-23T18:17:24.146Z","repository":{"id":110840623,"uuid":"380749823","full_name":"karenpayneoregon/learn-using-unit-test-cs","owner":"karenpayneoregon","description":"For an article on learning to code with unit test.","archived":false,"fork":false,"pushed_at":"2021-09-30T17:32:01.000Z","size":126,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T00:29:18.064Z","etag":null,"topics":["csharp","entity-framework-core","unit-testing"],"latest_commit_sha":null,"homepage":"","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/karenpayneoregon.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":"2021-06-27T13:41:31.000Z","updated_at":"2021-09-30T17:32:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0cc0505-d948-49f8-9f5f-8c0d06b76239","html_url":"https://github.com/karenpayneoregon/learn-using-unit-test-cs","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/karenpayneoregon%2Flearn-using-unit-test-cs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karenpayneoregon%2Flearn-using-unit-test-cs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karenpayneoregon%2Flearn-using-unit-test-cs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karenpayneoregon%2Flearn-using-unit-test-cs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karenpayneoregon","download_url":"https://codeload.github.com/karenpayneoregon/learn-using-unit-test-cs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245144978,"owners_count":20568056,"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":["csharp","entity-framework-core","unit-testing"],"created_at":"2024-11-30T19:21:41.270Z","updated_at":"2025-03-23T18:17:24.123Z","avatar_url":"https://github.com/karenpayneoregon.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nThis Visual Studio solution discuss the following along with hands on coding.\n\n- [x] Why developers tend to avoid testing and how to overcome\n- [x] Basics of unit test\n- [x] Test Explorer\n- [x] Differences in static, mocked data and real data\n- [x] Entity Framework Core testing\n- [x] Project templating\n- [x] Tips and tricks\n- [x] TDD\n- [ ] Live unit testing VS *Enterprise feature*\n- [x] Mocking\n- [x] Fakes\n- [x] Testing Frameworks\n\n\n# See also\n\n- [Testing tools](https://docs.microsoft.com/en-us/visualstudio/test/?view=vs-2019) in Visual Studio\n  - Unit test **[basics](https://docs.microsoft.com/en-us/visualstudio/test/unit-test-basics?view=vs-2019)**\n  - **[Test Explorer](https://docs.microsoft.com/en-us/visualstudio/test/run-unit-tests-with-test-explorer?view=vs-2019)**\n  - Isolate code under test with [Microsoft Fakes](https://docs.microsoft.com/en-us/visualstudio/test/isolating-code-under-test-with-microsoft-fakes?view=vs-2019)\n  - Create unit test method [stubs from code](https://docs.microsoft.com/en-us/visualstudio/test/create-unit-tests-menu?view=vs-2019)\n  - [Frameworks](https://docs.microsoft.com/en-us/visualstudio/test/install-third-party-unit-test-frameworks?view=vs-2019)\n- Visual Studio [productivity guide](https://docs.microsoft.com/en-us/visualstudio/ide/csharp-developer-productivity?view=vs-2019) for C# developers\n- TechNet Wiki [C# object comparisons basics](https://social.technet.microsoft.com/wiki/contents/articles/53309.c-object-comparisons-basics.aspx)\n- Custom project templates [repository](https://github.com/karenpayneoregon/vs2019-custom-project-templates)\n- Storing database connections in appsettings.json [repository](https://github.com/karenpayneoregon/configuration-helpers)\n- Entity Framework Core in memory testing [repository](https://github.com/karenpayneoregon/EntityFrameworkCoreInMemoryTesting)\n  - Microsoft docs [EF Core In-Memory Database Provider](https://docs.microsoft.com/en-us/ef/core/providers/in-memory/?tabs=dotnet-core-cli)\n- TechNet Wiki [Unit testing extension methods and validation](https://social.technet.microsoft.com/wiki/contents/articles/51706.c-unit-testing-extension-methods-and-validation.aspx)\n- TechNet Wiki [Different methods to display unit test](https://social.technet.microsoft.com/wiki/contents/articles/51303.visual-studio-different-methods-to-display-unit-test.aspx)\n\n\u003c/br\u003e\n\n![Unit Testing](assets/unitTesting.png)![Csharp Small](assets/csharpSmall.png)![Sql Server1](assets/sql-server1.png) ![Efcore](assets/efcore.png) ![Versions](assets/Versions.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarenpayneoregon%2Flearn-using-unit-test-cs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarenpayneoregon%2Flearn-using-unit-test-cs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarenpayneoregon%2Flearn-using-unit-test-cs/lists"}