We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Guidelines and Techniques for Testing OTP in Elixir
80
clicks
Source: youtube.com
Aaron Cruz presented a talk at ElixirConf EU 2024 focusing on the complexities of testing OTP (Open Telecom Platform) in Elixir. He began by recounting his experience with a large Elixir project for a German energy company, where managing real-time energy data required a sophisticated OTP setup. Cruz then detailed three primary solutions for handling named processes in tests: using default arguments, employing dependency injection, and leveraging setup macros. The speaker emphasized the importance of maintaining test reliability and leveraging tools like NimbleOptions and MOX for dependency management and mocking. By sharing personal anecdotes and practical code examples, Cruz provided a comprehensive overview of techniques to mitigate complexity in testing OTP-based applications.
Related posts
© HashMerge 2024