Function: go-test-current-project

go-test-current-project is an interactive and natively compiled function defined in gotest.el.

Signature

(go-test-current-project)

Documentation

Launch go test on the current project.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/y8iliarhkh17m4iiwcy1hbi78r7b5489-emacs-packages-deps/share/emacs/site-lisp/elpa/gotest-20230221.945/gotest.el
;;;###autoload
(defun go-test-current-project ()
  "Launch go test on the current project."
  (interactive)
  (if (go-test--is-gb-project)
      (go-test--gb-start "all -test.v=true")
    (let ((packages (cl-remove-if (lambda (s) (s-contains? "/vendor/" s))
                                  (s-split "\n"
                                           (shell-command-to-string "go list ./...")))))
      (go-test--go-test (s-join " " packages)))))