Function: projectile-test-extension

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

Signature

(projectile-test-extension PROJECT-TYPE)

Documentation

Find the extension test files use in PROJECT-TYPE, or nil.

Nil means a test file carries the same extension as the implementation it belongs to, which is true of most languages - Elixir, whose tests are scripts (.exs\=) beside sources (.ex\=), is why this exists.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-test-extension (project-type)
  "Find the extension test files use in PROJECT-TYPE, or nil.
Nil means a test file carries the same extension as the implementation
it belongs to, which is true of most languages - Elixir, whose tests are
scripts (`.exs\\=') beside sources (`.ex\\='), is why this exists."
  (projectile-project-type-attribute project-type 'test-extension))