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 96fe37e commit e3cd399Copy full SHA for e3cd399
lib/mix/lib/mix/tasks/test.ex
@@ -614,7 +614,14 @@ defmodule Mix.Tasks.Test do
614
# before requiring test_helper.exs so that the configuration is
615
# available in test_helper.exs
616
Mix.shell().print_app()
617
- app_start_args = if opts[:slowest], do: ["--preload-modules" | args], else: args
+
618
+ app_start_args =
619
+ if opts[:slowest] || opts[:slowest_modules] do
620
+ ["--preload-modules" | args]
621
+ else
622
+ args
623
+ end
624
625
Mix.Task.run("app.start", app_start_args)
626
627
# The test helper may change the Mix.shell(), so revert it whenever we raise and after suite
0 commit comments