Elixir/Phoenix How You Can Cut Test Time by 80% With Development Specific Test Suites.

How to Profile Your Test Suite.

Photo by Tim Gouw on Unsplash
mix test --slowest N
mix test --slowest 100

Tag Expensive Tests.

Exclude Expensive Tests

mix test --exclude="expensive"

Didn’t You Just Ignore Longer Tests?

Run You Fast Tests Before Your Slow Tests.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store