Function: projectile-test-command

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

Signature

(projectile-test-command COMPILE-DIR)

Documentation

Retrieve the test command for COMPILE-DIR.

Checks projectile-test-cmd-map for the last test command that was invoked on the project, then projectile-project-test-cmd supplied via .dir-locals.el and finally the default test command for a project of that type.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-test-command (compile-dir)
  "Retrieve the test command for COMPILE-DIR.
Checks `projectile-test-cmd-map' for the last test command that was
invoked on the project, then `projectile-project-test-cmd' supplied
via .dir-locals.el and finally the default test command for a project
of that type."
  (projectile--phase-command 'test compile-dir))