Mid Testing

How do you approach writing tests for legacy code?

Start by identifying seams to isolate dependencies, use characterization tests to capture

existing behavior, refactor incrementally, and introduce tests gradually without breaking

functionality.

More from C# Programming Tutorial

All questions for this course