[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master e904e38 12/26: Mention M-x test-simple-run in README.md
From: |
Rocky Bernstein |
Subject: |
[elpa] master e904e38 12/26: Mention M-x test-simple-run in README.md |
Date: |
Thu, 25 May 2017 02:22:14 -0400 (EDT) |
branch: master
commit e904e38c1c67891d2d202c8c60524420bab62e36
Author: rubikitch <address@hidden>
Commit: rubikitch <address@hidden>
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 <address@hidden> <br>
[![endorse](https://api.coderwall.com/rocky/endorsecount.png)](https://coderwall.com/rocky)
- [elpa] master 611bd94 16/26: Switch from Carton to Cask, (continued)
- [elpa] master 611bd94 16/26: Switch from Carton to Cask, Rocky Bernstein, 2017/05/25
- [elpa] master e199434 20/26: Minor changes, Rocky Bernstein, 2017/05/25
- [elpa] master 8204b89 10/26: .travis.yml: Drop support of Emacs23 (Test in Emacs24), Rocky Bernstein, 2017/05/25
- [elpa] master 35ef95d 09/26: Mention test-simple-run in README.md, Rocky Bernstein, 2017/05/25
- [elpa] master 613fe8b 19/26: Version 1.2.0 sync with elpa, Rocky Bernstein, 2017/05/25
- [elpa] master 604942d 24/26: Merge pull request #12 from syohex/cl-lib, Rocky Bernstein, 2017/05/25
- [elpa] master a2383c7 26/26: Bump version .., Rocky Bernstein, 2017/05/25
- [elpa] master e18adb1 25/26: Merge commit '604942d36021a8b14877a0a640234a09c79e0927', Rocky Bernstein, 2017/05/25
- [elpa] master 187808a 21/26: TAP output in batch mode now goes to stdout, not stderr, Rocky Bernstein, 2017/05/25
- [elpa] master 0d2969f 23/26: Use cl-lib instead of cl.el, Rocky Bernstein, 2017/05/25
- [elpa] master e904e38 12/26: Mention M-x test-simple-run in README.md,
Rocky Bernstein <=
- [elpa] master 4c40e8d 15/26: A spelling typo, Rocky Bernstein, 2017/05/25
- [elpa] master 3056b86 13/26: Merge pull request #9 from rubikitch/test-runner, Rocky Bernstein, 2017/05/25
- [elpa] master 95e58b5 18/26: Why didn't I do this before?!, Rocky Bernstein, 2017/05/25