LyraLearn AI Learning Platform
Exams
← Back to the lesson
Module 8 Β· Quiz

Testing Data Access and Controllers

1. What is the main reason why EF Core InMemory provider is considered the least reliable for testing data access?
2. Which of the following testing strategies is recommended for controller tests?
3. What happens if you call a controller action directly without setting up ModelState?
4. What is a common mistake that developers make regarding ModelState during controller testing?