Prototyping with Phoenix LiveView: A Perfect Play Queue III 7th video in the series about building cryptocurrency trading bot in Elixir

Preparing to Refactor with Better Unit Tests

TL/DR: The last time we looked at this code, we wrote property tests. The property tests used generators to create input, but the actually testing of the invariants was just regular Elixir code. In this post, we’ll look at rewriting those property tests as standard ExUnit tests, giving us better unit tests. Link: https://medium.com/perplexinomicon-of-philosodad/preparing-to-refactor-with-better-unit-tests-51e27659fe5e

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.