~/talk

Testing Your Web Apps

links:none on file
slides:none on file

Coverage strategy for .NET web apps focuses on concrete tradeoffs: favor many unit tests, fewer brittle integration/UI tests, and plan the upfront cost of automation because manual regression grows until it exceeds automation. Practical tips include using Microsoft.AspNetCore.Mvc.Testing to spin a TestServer and HttpClient, prefer SQLite over in-memory EF to avoid LINQ-to-SQL mismatches, seed databases with fixtures via class/collection fixtures, stub external services, run Selenium for E2E, and drive BDD with SpecFlow/gherkin; examples show working seeded tests and successful runs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Testing Pyramid
  3. 4:47Small NonPage Companies
  4. 8:46Cost of Bugs
  5. 12:02Integration Testing
  6. 16:45Restrictions
  7. 17:16Integration Tests
  8. 22:09Web Application Factory
  9. 22:43Selenium Integration Testing
  10. 23:13How Does Selenium Work
  11. 26:33BDD
  12. 30:23Syntaxes
  13. 31:48Example
  14. 34:17Frameworks
  15. 35:18Stress Tests
  16. 37:33Demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.