Add unit test framework
This commit is contained in:
parent
7836698262
commit
ad12b9057b
4 changed files with 20 additions and 1 deletions
5
Cask
5
Cask
|
@ -303,3 +303,8 @@
|
|||
|
||||
;; Debugging -- modules/custom-debug.el
|
||||
(depends-on "realgud")
|
||||
|
||||
|
||||
;;;; DEV TOOLS ;;;;;;;;;;;;;;;;;
|
||||
(development
|
||||
(depends-on "ert-runner"))
|
||||
|
|
5
Makefile
5
Makefile
|
@ -32,6 +32,9 @@ clean-cache:
|
|||
clean-lite:
|
||||
@rm -f init.elc core/core.elc
|
||||
|
||||
test:
|
||||
@cask exec ert-runner -l core/core.el
|
||||
|
||||
########################################
|
||||
|
||||
%.elc: %.el
|
||||
|
@ -44,4 +47,4 @@ _install: clean-lite
|
|||
@cask install 2>&1
|
||||
@mkdir -p $(CACHE_DIR)/{undo,backup,workgroups}
|
||||
|
||||
.PHONY: all
|
||||
.PHONY: all test
|
||||
|
|
5
test/basic-test.el
Normal file
5
test/basic-test.el
Normal file
|
@ -0,0 +1,5 @@
|
|||
;;; basic-test.el
|
||||
|
||||
(ert-deftest doom-basic-test ()
|
||||
(should t))
|
||||
|
6
test/test-helper.el
Normal file
6
test/test-helper.el
Normal file
|
@ -0,0 +1,6 @@
|
|||
;;; test-helper.el
|
||||
|
||||
(require 'ert)
|
||||
|
||||
(provide 'test-helper)
|
||||
;;; test-helper.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue