branch: master
commit e904e38c1c67891d2d202c8c60524420bab62e36
Author: rubikitch <[email protected]>
Commit: rubikitch <[email protected]>
Mention M-x test-simple-run in README.md
---
README.md | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 7f292a9..9481052 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
* Simple -- no need for context macros, enclosing specifications, or required
test tags. But if you want, you still can add custom assert failure messages or
add notes before a group of tests.
* Accomodates both interactive and non-interactive use:
* For interactive use one can use `eval-last-sexp`, `eval-region`, and
`eval-buffer`
- * For non-interactive use run as: `emacs --batch --no-site-file --no-splash
--load <test-lisp-code.el>`
+ * For non-interactive use run as: `emacs --batch --no-site-file --no-splash
--load <test-lisp-code.el>`, or `test-simple-run`
I use this in my [Debugger front end](https://github.com/rocky/emacs-dbgr).
@@ -77,5 +77,11 @@ Press C-x C-e at the `test-simple-run` line to run this test
file.
Then press C-x C-z, which is customizable by `test-simple-runner-key`, to run
it more.
If you have installed `bpr` package, use it by default because it only pops up
window when the running program exits abnormally.
+`test-simple-run` can be called interactively.
+In this case, the command line is set above as the simplest case.
+But you run test with dependency, you must use the sexp comment form.
+
+ ;;;; (test-simple-run "emacs -batch -L %s -L %s -l %s"
(file-name-directory (locate-library "test-simple.elc")) (file-name-directory
(locate-library "foo")) buffer-file-name)
+
*Author:* Rocky Bernstein <[email protected]> <br>
[](https://coderwall.com/rocky)