Elektrine lite

← Feed

@orj@mastodon.social

2024-12-13 13:51 UTC

@ksliech @kharrison @mattiem I personally still find I avoid using init and deinit (setup/teardown) in tests because you can’t customise the set or tear down behaviour (eg via parameters). Instead I usually have a makeTestSubject() method and perhaps a nested Mocks struct (when using mocks - which I try to avoid).

Replies (0)

No replies.