Test Strategies for C# async/await
summary
Covers testing strategies for C# async/await (C# 5) including how to write unit tests for asynchronous code and whether async functionality can be developed test-driven. Presents practical examples and approaches for overcoming challenges of testing async methods.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:06Async goals
- 3:34Async patterns evolution
- 5:47Async samples overview
- 12:10Testing importance
- 17:15Automated test strategies
- 24:39Testing with Task.FromResult
- 37:31Testing async exceptions
- 41:09Testing cancellation tokens
- 47:18Async integration testing
- 52:14Acceptance workflow
- 56:48Performance tools
- 59:18CI benefits
- 1:01:25Test early test often
