We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mix test --slowest-modules=N
1 parent 195a4cf commit cfa3bb7Copy full SHA for cfa3bb7
lib/mix/lib/mix/tasks/test.ex
@@ -603,7 +603,14 @@ defmodule Mix.Tasks.Test do
603
# before requiring test_helper.exs so that the configuration is
604
# available in test_helper.exs
605
Mix.shell().print_app()
606
- app_start_args = if opts[:slowest], do: ["--preload-modules" | args], else: args
+
607
+ app_start_args =
608
+ if opts[:slowest] || opts[:slowest_modules] do
609
+ ["--preload-modules" | args]
610
+ else
611
+ args
612
+ end
613
614
Mix.Task.run("app.start", app_start_args)
615
616
# The test helper may change the Mix.shell(), so revert it whenever we raise and after suite
0 commit comments