Function: projectile-test-at-point-rust-command
projectile-test-at-point-rust-command is a byte-compiled function
defined in projectile.el.
Signature
(projectile-test-at-point-rust-command TEST-NAME FILE-NAME)
Documentation
Return a cargo test\= command running TEST-NAME.
Cargo selects tests by name filter rather than by file, so the file
isn't part of the command. --\= separates the filter from cargo's own
arguments and --exact\= keeps a short name from also matching longer
ones.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile-test-at-point-rust-command (test-name _file-name)
"Return a `cargo test\\=' command running TEST-NAME.
Cargo selects tests by name filter rather than by file, so the file
isn\\='t part of the command. `--\\=' separates the filter from cargo\\='s own
arguments and `--exact\\=' keeps a short name from also matching longer
ones."
(format "cargo test -- --exact %s" (shell-quote-argument test-name)))