Variable: projectile-create-missing-test-files

projectile-create-missing-test-files is a customizable variable defined in projectile.el.

Value

nil

Documentation

During toggling, if non-nil enables creating test files if not found.

When not-nil, every call to projectile-find-implementation-or-test-* creates test files if not found on the file system. Defaults to nil. It assumes the test/ folder is at the same level as src/.

This variable was added, or its default value changed, in projectile version 0.13.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-create-missing-test-files nil
  "During toggling, if non-nil enables creating test files if not found.

When not-nil, every call to projectile-find-implementation-or-test-*
creates test files if not found on the file system.  Defaults to nil.
It assumes the test/ folder is at the same level as src/."
  :group 'projectile
  :type 'boolean
  :package-version '(projectile . "0.13.0"))