Elektrine lite

← Feed

@bjt@fosstodon.org

2023-01-12 11:27 UTC

So I gave a lightning talk at #codemash yesterday and didn't give myself enough time to dive into my new favorite pattern: characterization tests Sometimes you've got code that resists being unit tested and actually *can't* be refactored to a state that can be unit tested. But in this absolute worst case scenario, you can still test the whole artifact by mocking the inputs it wants and knowing what you expect the outputs to be.

Replies (0)

No replies.