Next: , Up: Other Testing Concepts   [Contents][Index]

6.1 Other Tools for Emacs Lisp

Stubbing out functions or using so-called mocks can make it easier to write tests. See for an explanation of the corresponding concepts in object-oriented languages.

ERT does not have built-in support for mocks or stubs. The package el-mock (see offers mocks for Emacs Lisp and can be used in conjunction with ERT.