Add core-lib & core-lib-{buffers,package} unit tests + tasks
This commit is contained in:
parent
8b0184181d
commit
acb7536e64
6 changed files with 199 additions and 1 deletions
9
core/autoload/test.el
Normal file
9
core/autoload/test.el
Normal file
|
@ -0,0 +1,9 @@
|
|||
;;; ../core/autoload/test.el
|
||||
|
||||
;;;###autoload
|
||||
(defmacro def-test-group! (name &rest body)
|
||||
(declare (indent defun))
|
||||
(dolist (form body)
|
||||
(when (eq (car form) 'ert-deftest)
|
||||
(setf (cadr form) (intern (format "test-%s-%s" name (symbol-name (cadr form)))))))
|
||||
`(progn ,@body))
|
Loading…
Add table
Add a link
Reference in a new issue