Introducing Breakpoints in Elixir 1.17 for Testing

76
clicks
Introducing Breakpoints in Elixir 1.17 for Testing

Source: elixirstreams.com

Type: Video

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.

© HashMerge 2024