[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/assess 46290f163d 37/95: Add tests for discover.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/assess 46290f163d 37/95: Add tests for discover. |
Date: |
Tue, 19 Jul 2022 15:57:31 -0400 (EDT) |
branch: externals/assess
commit 46290f163d4d0acc87f46bf63f5477a03c5efa0d
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>
Add tests for discover.
---
Makefile | 11 ++++++-----
test/sisyphus-discover-test.el | 6 ++++++
test/sisyphus-test.el | 7 +++++++
3 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index a97bb7f115..497a1990a1 100644
--- a/Makefile
+++ b/Makefile
@@ -8,19 +8,20 @@ export EMACS
all: install test
install:
- cask install
+ EMACS=$(EMACS) cask install
just-test:
- cask exec ert-runner
+ EMACS=$(EMACS) cask exec ert-runner
test: install just-test
package:
- cask package
+ EMACS-$(EMACS) cask package
discover-test:
- cask exec emacs --batch --load sisyphus.el --load sisyphus-discover.el \
- -f sisyphus-discover-run-and-exit-batch
+ EMACS=$(EMACS) cask exec $(EMACS) --batch -l sisyphus.el -l
sisyphus-discover.el -f sisyphus-discover-run-and-exit-batch
.PHONY: test dist
+export:
+ export
diff --git a/test/sisyphus-discover-test.el b/test/sisyphus-discover-test.el
new file mode 100644
index 0000000000..b5e6904f06
--- /dev/null
+++ b/test/sisyphus-discover-test.el
@@ -0,0 +1,6 @@
+(ert-deftest sisyphus-discover-test-has-this-been-defined ()
+ "This test is here so that we can test elsewhere that is has
+actually been defined."
+ (should t))
+
+(provide 'sisyphus-discover-test)
diff --git a/test/sisyphus-test.el b/test/sisyphus-test.el
index 5f0710eb32..c5932d1b94 100644
--- a/test/sisyphus-test.el
+++ b/test/sisyphus-test.el
@@ -459,4 +459,11 @@ This also tests the advice on string=."
(m-buffer-match buffer "defun"))
'font-lock-keyword-face)))
+(ert-deftest sisyphus-discover-test ()
+ "Test to see if another test has been defined, which should be
auto-discovered"
+ (should
+ (get 'sisyphus-discover-test-has-this-been-defined 'ert--test)))
+
+
+
;; #+end_src
- [elpa] externals/assess f3416dadb1 18/95: Indentation test functions., (continued)
- [elpa] externals/assess f3416dadb1 18/95: Indentation test functions., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 1b01542ccd 20/95: Fontification testing., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 2e556a62ae 22/95: Add new test file., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 32a00524a8 24/95: Fix unused variable issues, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 3cf57afcaf 26/95: Merge pull request #1 from syohex/fix, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 00c794a516 29/95: Add package support., ELPA Syncer, 2022/07/19
- [elpa] externals/assess f490f18a18 32/95: Merge branch 'master' of github.com:phillord/sisyphus, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 0d079db1a7 34/95: Completed documentation., ELPA Syncer, 2022/07/19
- [elpa] externals/assess cab9fea7b8 28/95: Documentation for everything, ELPA Syncer, 2022/07/19
- [elpa] externals/assess f521db4101 36/95: Add sisyphus-discover, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 46290f163d 37/95: Add tests for discover.,
ELPA Syncer <=
- [elpa] externals/assess 38fc7829bc 42/95: Interpret nil to mean no faces., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 818cf77258 27/95: Merge pull request #2 from syohex/minimum, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 880d519d6b 35/95: Update readme, add infojs., ELPA Syncer, 2022/07/19
- [elpa] externals/assess 216adb069c 47/95: Add assess-call.el, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 07bd7f8915 58/95: Doc fixes, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 739661405b 59/95: Add assess-robot.el and tests, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 9521b07480 71/95: Fix and Publish documentation statically, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 5aee8d7500 81/95: Mark some tests as failed on earlier emacs, ELPA Syncer, 2022/07/19
- [elpa] externals/assess 0a3e94477a 78/95: Support all of Emacs 24 series, ELPA Syncer, 2022/07/19
- [elpa] externals/assess e5b0415126 85/95: Update README and release number, ELPA Syncer, 2022/07/19