We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Introducing Breakpoints in Elixir 1.17 for Testing
76
clicks
Source: elixirstreams.com
The recent release of Elixir 1.17 has brought a new feature enabling developers to insert breakpoints into their tests. By running tests in the `iex` console with the `--breakpoints` flag, users can halt execution and inspect local variables and imported functions. While local functions cannot be inspected directly, the feature aids in confirming the correctness of the test setup. This addition is particularly useful for validating assumptions during testing.
Related posts
© HashMerge 2024