Elixir 1.16 running multiple tests with line numbers! ✅

Notes

Prior to Elixir 1.16 we could run a single test file with line numbers:

mix test file_path:lineno

We could run multiple test files:

mix test file_path_1 file_path_2

But we couldn’t run multiple test files with line numbers.

mix test file_path_1:lineno file_path_2:lineno
#=> ❌ Line numbers can only be used when running a single file

Well, Elixir 1.16 fixes that! ✅

We can now specify each file with line numbers through a single mix test command.

mix test file_path_1:lineno file_path_2:lineno
     

Want the latest Elixir Streams in your inbox?

    No spam. Unsubscribe any time.