Function: make-ert-test

make-ert-test is a byte-compiled function defined in ert.el.gz.

Signature

(make-ert-test &key NAME DOCUMENTATION BODY MOST-RECENT-RESULT EXPECTED-RESULT-TYPE TAGS FILE-NAME)

Documentation

Constructor for objects of type ert-test.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
;;; Defining and locating tests.

;; The data structure that represents a test case.
(cl-defstruct ert-test
  (name nil)
  (documentation nil)
  (body (cl-assert nil))
  (most-recent-result nil)
  (expected-result-type ':passed)
  (tags '())
  (file-name nil))