Function: projectile-test-subproject
projectile-test-subproject is an autoloaded, interactive and
byte-compiled function defined in projectile.el.
Signature
(projectile-test-subproject ARG)
Documentation
Run the test command of the project in the nearest subproject.
Find the closest project manifest (e.g. pom.xml, Cargo.toml) between the
current directory and the project root, and run the command there instead
of over the whole repository. In a monorepo that is the module being
worked on. The command itself is unchanged - only the directory it runs
in - so a project type that builds in a subdirectory (Meson in build,
say) still does, relative to the subproject.
Normally you will be prompted for the command, unless variable
compilation-read-command(var)/compilation-read-command(fun). You can force the prompt with a prefix ARG.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload (autoload 'projectile-configure-subproject "projectile" nil t)
;;;###autoload (autoload 'projectile-compile-subproject "projectile" nil t)
;;;###autoload (autoload 'projectile-test-subproject "projectile" nil t)
;;;###autoload (autoload 'projectile-install-subproject "projectile" nil t)
;;;###autoload (autoload 'projectile-package-subproject "projectile" nil t)
;;;###autoload (autoload 'projectile-run-subproject "projectile" nil t)
(projectile--define-subproject-commands configure compile test install package run)