https://github.com/karenpayneoregon/learn-using-unit-test-cs
For an article on learning to code with unit test.
https://github.com/karenpayneoregon/learn-using-unit-test-cs
csharp entity-framework-core unit-testing
Last synced: over 1 year ago
JSON representation
For an article on learning to code with unit test.
- Host: GitHub
- URL: https://github.com/karenpayneoregon/learn-using-unit-test-cs
- Owner: karenpayneoregon
- Created: 2021-06-27T13:41:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-30T17:32:01.000Z (almost 5 years ago)
- Last Synced: 2025-01-29T00:29:18.064Z (over 1 year ago)
- Topics: csharp, entity-framework-core, unit-testing
- Language: C#
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# About
This Visual Studio solution discuss the following along with hands on coding.
- [x] Why developers tend to avoid testing and how to overcome
- [x] Basics of unit test
- [x] Test Explorer
- [x] Differences in static, mocked data and real data
- [x] Entity Framework Core testing
- [x] Project templating
- [x] Tips and tricks
- [x] TDD
- [ ] Live unit testing VS *Enterprise feature*
- [x] Mocking
- [x] Fakes
- [x] Testing Frameworks
# See also
- [Testing tools](https://docs.microsoft.com/en-us/visualstudio/test/?view=vs-2019) in Visual Studio
- Unit test **[basics](https://docs.microsoft.com/en-us/visualstudio/test/unit-test-basics?view=vs-2019)**
- **[Test Explorer](https://docs.microsoft.com/en-us/visualstudio/test/run-unit-tests-with-test-explorer?view=vs-2019)**
- 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)
- Create unit test method [stubs from code](https://docs.microsoft.com/en-us/visualstudio/test/create-unit-tests-menu?view=vs-2019)
- [Frameworks](https://docs.microsoft.com/en-us/visualstudio/test/install-third-party-unit-test-frameworks?view=vs-2019)
- Visual Studio [productivity guide](https://docs.microsoft.com/en-us/visualstudio/ide/csharp-developer-productivity?view=vs-2019) for C# developers
- TechNet Wiki [C# object comparisons basics](https://social.technet.microsoft.com/wiki/contents/articles/53309.c-object-comparisons-basics.aspx)
- Custom project templates [repository](https://github.com/karenpayneoregon/vs2019-custom-project-templates)
- Storing database connections in appsettings.json [repository](https://github.com/karenpayneoregon/configuration-helpers)
- Entity Framework Core in memory testing [repository](https://github.com/karenpayneoregon/EntityFrameworkCoreInMemoryTesting)
- Microsoft docs [EF Core In-Memory Database Provider](https://docs.microsoft.com/en-us/ef/core/providers/in-memory/?tabs=dotnet-core-cli)
- 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)
- 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)
  