This class uses xUnit tests to demonstrate the Entity Framework Core features. In this section, Phil demonstrates the capabilities of xUnit that are used in the rest of the course.
- [Phil] xUnit is an open-source…testing framework for .NET,…and it grew out of the experience of…building and maintaining NUnit.…It's developed by James Newkirk,…Brad Wilson, and Oren Novotny.…And it really does excel in writing tests,…repeatable automated tests for .NET and .NET Core.…There are one of the first supporters of .NET Core,…and there are some slight changes from…really the words but also…how the two works from NUnit or MbUnit or MSTest.…
And the most notable is that…tests are divided into facts and theories,…and a fact is equivalent to a test in the other frameworks,…and the theory is equivalent to a RowTest.…The other significant change is that…setup and teardown are handled by…the constructor and dispose pattern,…as opposed to having fixture setup…or fixture teardown attributes.…And then, the final change is…you don't have to mark your class as a test fixture.…
The framework is smart enough to look for anything…that has a fact or a theory.…Decorating it is then considered to be a test.…So let's look at the testing framework.…
- Entity Framework Core components and projects
- Working with scaffolded files
- Testing with xUnit
- Viewing generated SQL
- Composing queries
- Sorting and filtering results
- Working with aggregates
- Loading related data
- Logging and tracking
- Mapping functions
- Generics and delegates
- Checking concurrency
- Resiliency and transactions
Skill Level Intermediate
Learning Entity Framework Corewith Reynald Adolphe1h 35m Intermediate
1. Get to Know Entity Framework
2. Set the Stage
3. Querying Data: Part 1
4. Querying Data: Part 2
5. Advanced Query Features
6. Persisting Data
7. DbContext Options and Configuration
Thank you1m 23s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.