branch: master
commit 35ef95d6a4783a946dd8fc0d42ed7d4b143884ca
Author: rubikitch <[email protected]>
Commit: rubikitch <[email protected]>
Mention test-simple-run in README.md
---
README.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/README.md b/README.md
index 6b4b965..7f292a9 100644
--- a/README.md
+++ b/README.md
@@ -67,5 +67,15 @@ Now let's try from a command line:
......
0 failures in 6 assertions (0.000723 seconds)
+
+You can run noninteractive tests inside Emacs by `test-simple-run`.
+Add the following at a test file:
+
+ ;;;; (test-simple-run "emacs -batch -L %s -l %s" (file-name-directory
(locate-library "test-simple.elc")) buffer-file-name)
+
+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.
+
*Author:* Rocky Bernstein <[email protected]> <br>
[](https://coderwall.com/rocky)