Function: projectile-test-at-point-erlang-command

projectile-test-at-point-erlang-command is a byte-compiled function defined in projectile.el.

Signature

(projectile-test-at-point-erlang-command TEST-NAME FILE-NAME)

Documentation

Return a rebar3 eunit\= command running TEST-NAME from FILE-NAME.

EUnit addresses a test as module:function\=, and an Erlang module is named after its file, so the module comes from FILE-NAME.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-test-at-point-erlang-command (test-name file-name)
  "Return a `rebar3 eunit\\=' command running TEST-NAME from FILE-NAME.
EUnit addresses a test as `module:function\\=', and an Erlang module is
named after its file, so the module comes from FILE-NAME."
  (format "rebar3 eunit --test=%s"
          (shell-quote-argument
           (format "%s:%s" (file-name-base file-name) test-name))))