2 ms·
Your question is “how to test opaque nondeterministic databases”. I test my agents deterministically, because I know how to IoC. Check out this code [0] and fol
by pancsta 1y ago
Your question is “how to test opaque nondeterministic databases”. I test my agents deterministically, because I know how to IoC. Check out this code [0] and follow the usage. In the rest of cases, you assert with embeds. Good luck.
[0] https://github.com/pancsta/secai/blob/74d79ad449c0f60a57b600d52a8b20fb7075cc04/examples/cook/agent.go#L35 https://github.com/pancsta/secai/blob/74d79ad449c0f60a57b600...