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

Use Mix to Find Your Slowest Tests.

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.

Summary

Software Engineer. I create educational content focused on technology for mobile and web applications.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

About “var” Keyword In Java

Fetch Data Using JSON API And Insert Into SQLite3 DB

Introduction to Metals with Scala 3

From Application Software to SaaS: How to Not Get Blindsided by the Current Tech Avalanche

Reverse Integer Leetcode (Question 7.) Easy level

A new POV(Computer vision)

Jetpack Compose Side Effects — LaunchedEffect

Week 5: MVP, Solo Project, Scratch Project, Conflict and Resolution

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
Brooklin Myers

Brooklin Myers

Software Engineer. I create educational content focused on technology for mobile and web applications.

More from Medium

The Repository Pattern in Ruby (with the Active Record library)

User Auth and Password Protection: Rails

All About Service Objects: Part 1 - Rails Controllers