Assess provides additional support for testing Emacs packages.
- a set of predicates for comparing strings, buffers and file contents.
- explainer functions for all predicates giving useful output
- macros for creating many temporary buffers at once, and for restoring the buffer list.
- methods for testing indentation, by comparision or "roundtripping".
- methods for testing fontification.
Assess aims to be a stateless as possible, leaving Emacs unchanged whether the tests succeed or fail, with respect to buffers, open files and so on; this helps to keep tests independent from each other.
Assess is fully
Documentation is written and generating using the
system. It is also possible to generate the documentation locally:
M-x package-install lentic-server M-x lentic-server-browse
The core of assess should now be considered stable and may be actively used.
Assess supports runs all of the Emacs-24 series, Emacs-25 and Emacs-26 (to be). I will maintain support for older Emacs as far back as I am easily able to compile or run older versions; currently this is Emacs-24.1.
I plan to move this to core Emacs, as ert-assess. This will happen after Emacs-25.1 release.
This release mostly changes internal implementation
details. Specifically, the original use of "types" has been
removed. Functions such as
assess-file now return strings.
This release features the first feature added by an external contributor (thanks to Matus Goljer and Damien Cassou). Assess now also supports the entire Emacs-24 series, after several requests; that this was possible was largely, if indirectly, due to Nicolas Petton's seq.el supporting all these versions
- All of Emacs-24 series now supported.
assess-with-filesystemenables creation of a temporary file hierarchy.
assess-with-preserved-buffer-listnow kills even file associated buffers at the end of the form.
Fix Version Number
Add test, fix keybinding