Toot

Written by jonny (good kind) on 2024-12-06 at 23:09

@pamelafox

I definitely prefer custom mocks in most cases - magic mocks work when everything is totally unit-ized and so you want to assume nothing about the components surrounding the thing to be tested, but in practice, if you can't actually use the thing in testing, it's good to have at least some imitation of its real behavior, because otherwise you're usually testing nothing

=> More informations about this toot | View the thread | More toots from jonny@neuromatch.social

Mentions

=> View pamelafox@fosstodon.org profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113608395900315814
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
196.871294 milliseconds
Gemini-to-HTML Time
0.341613 milliseconds

This content has been proxied by September (ba2dc).