Llewellyn — How to Write Unit Tests for Legacy Code

How to write unit tests for legacy code, 1:1 with a tutor that rejects tests which only assert a mock was called. Four weeks on characterisation tests, seams and database fakes, ending when a pull request fails loudly on changed behaviour.

How do I write unit tests for legacy code with no seams?

How to write unit tests for legacy code, 1:1 with a tutor that rejects tests which only assert a mock was called. Four weeks on characterisation tests, seams and database fakes, ending when a pull request fails loudly on changed behaviour.

All Coding & Data templates · All templates