orj
orj@mastodon.social
Posts
-
View post
@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).