Join Nostr
2026-08-10 05:46:25 UTC
in reply to

Andrew Tropin on Nostr: nprofile1q…lqy4d nprofile1q…2lmpg I design fixture mechanism for testing library ...

I design fixture mechanism for testing library and it's better to keep it expressive enough to cover all possible use cases.

I already have a project, where I need to re-use an object created by a fixture among multiple tests (e.g. spinning up a vm and running a few independent tests on it without re-instantiating a vm for each test).

From user stand point the fixtures are very simple. Underlying magic is hidden well.