branch: scratch/el-mock commit 4c54b7247b300f980981d9c052e0dd56efc508fb Merge: 992db170a3 d43353c2aa Author: Johan Andersson <johan.rej...@gmail.com> Commit: Johan Andersson <johan.rej...@gmail.com>
Merge branch 'patch-1' --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index ac7745b1d4..4af180ceff 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,15 @@ _NOTE: El mock has moved from El mock is a mocking library for Emacs. +## How to use it +Add this to your test-helper, [for instance](https://github.com/rejeep/prodigy.el/blob/700eb15293260fdfa2fc0cff38df600693b7e4e5/test/test-helper.el#L107-L109) +``` +(require 'el-mock) +(eval-when-compile + (require 'cl)) ;; for el-mock +``` + + ## Contribution Be sure to!