[GNU ELPA] Test-Simple version 1.3.2
ELPA update <[email protected]>
| Newsgroups | gmane.emacs.sources |
|---|---|
| Message-ID | <[email protected]> |
Version 1.3.2 of package Test-Simple has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.
Test-Simple describes itself as:
=========================================
Simple Unit Test Framework for Emacs Lisp
=========================================
More at https://elpa.gnu.org/packages/test-simple.html
## Summary:
test-simple.el is:
* Simple. No need for
- context macros,
- enclosing specifications,
- required test tags.
But if you want, you still can enclose tests in a local scope,
add customized assert failure messages, or add summary messages
before a group of tests.
* Accommodates both interactive and non-interactive use.
- For interactive use, one can use `eval-last-sexp', `eval-region',
and `eval-buffer'. One can `edebug' the code.
- For non-interactive use, run:
emacs --batch --no-site-file --no-splash --load <test-lisp-code.el>
Here is an example using gcd.el found in the examples directory.
(require 'test-simple)
(test-simple-start) ;; Zero counters and start the stop watch.
;; Use (load-file) below because we want to always to read the source.
## Recent NEWS:
1.0
Initial Melpa release
0.2
Initial Release