Guidelines and Techniques for Testing OTP in Elixir

80
clicks
Guidelines and Techniques for Testing OTP in Elixir

Source: youtube.com

Type: Video

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.

© HashMerge 2024