Function: make-ert--test-execution-info

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

Signature

(make-ert--test-execution-info &key TEST RESULT EXIT-CONTINUATION ERT-DEBUG-ON-ERROR)

Documentation

Constructor for objects of type ert--test-execution-info.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
;; A container for the state of the execution of a single test and
;; environment data needed during its execution.
(cl-defstruct ert--test-execution-info
  (test (cl-assert nil))
  (result (cl-assert nil))
  ;; A thunk that may be called when RESULT has been set to its final
  ;; value and test execution should be terminated.  Should not
  ;; return.
  (exit-continuation (cl-assert nil))
  ;; The binding of `ert-debug-on-error' that is in effect for the
  ;; execution of the current test.  We store it to avoid being
  ;; affected by any new bindings the test itself may establish.  (I
  ;; don't remember whether this feature is important.)
  ert-debug-on-error)