Function: projectile-find-test-file
projectile-find-test-file is an autoloaded, interactive and
byte-compiled function defined in projectile.el.
Signature
(projectile-find-test-file &optional INVALIDATE-CACHE)
Documentation
Jump to a project's test file using completion.
With a prefix arg INVALIDATE-CACHE invalidates the cache first.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
;;;###autoload
(defun projectile-find-test-file (&optional invalidate-cache)
"Jump to a project's test file using completion.
With a prefix arg INVALIDATE-CACHE invalidates the cache first."
(interactive "P")
(projectile-maybe-invalidate-cache invalidate-cache)
(let ((file (projectile-completing-read "Find test file: "
(projectile-current-project-test-files)
:caller 'projectile-read-file)))
(find-file (expand-file-name file (projectile-project-root)))))