Tag
Aimock is an open-source library for mocking AI components like LLMs, tools, agents, and databases, enabling end-to-end testing without real implementations. It has achieved 1 million weekly installs, indicating its utility in the AI development community.
A blog post presenting a universal approach to mocking in testing by using continuations to capture effects, allowing tests to verify correct arguments and order of calls without performing the effects. The technique is demonstrated in the Gleam programming language.
A tutorial covering various strategies for mocking network calls in Rust, using the example of a Kubernetes controller that emits events, with emphasis on not degrading production code for testability.