Elixir
  • My Elixir journey
  • Why functional programming?
  • Exhort
    • 🗓️Day 22
    • 🗓️Day 21
    • 🗓️Day 20
    • 🗓️Day 19
    • 🗓️Day 18
    • 🗓️Day 17
    • 🗓️Day 16
    • 🗓️Day 15
    • 🗓️Day 14
  • Bits and pieces
    • Clean mix dependencies
    • Run tests automatically on save
    • Run tests and stop on first failure
    • How to remove Tailwind from a Phoenix project
Powered by GitBook
  1. Bits and pieces

Run tests and stop on first failure

Run tests and stop on first failure

PreviousRun tests automatically on saveNextHow to remove Tailwind from a Phoenix project

Last updated 2 years ago

Here's how to run all tests in the same order as in the file and stop after the first failure:

mix test --seed 0 --max-failures 1

Do you have feedback or questions about this? .

Email me