Function: projectile-test-at-point-elixir-command
projectile-test-at-point-elixir-command is a byte-compiled function
defined in projectile.el.
Signature
(projectile-test-at-point-elixir-command TEST-NAME FILE-NAME)
Documentation
Return a mix test\= command running the test at point in FILE-NAME.
ExUnit has no way to select a test by name from the command line, so it is addressed by line instead - the FILE:LINE\= form. The line is the one point is on, which is where the test was found in the first place.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-test-at-point-elixir-command (_test-name file-name)
"Return a `mix test\\=' command running the test at point in FILE-NAME.
ExUnit has no way to select a test by name from the command line, so it
is addressed by line instead - the `FILE:LINE\\=' form. The line is the
one point is on, which is where the test was found in the first place."
(format "mix test %s"
(shell-quote-argument (format "%s:%d" file-name (line-number-at-pos)))))