summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames Nguyen <james@jojojames.com>2017-11-20 23:18:01 -0800
committerJames Nguyen <james@jojojames.com>2017-11-20 23:18:01 -0800
commit31ff64409912ba06cd8dd0f7d76834cd43cdee01 (patch)
tree015a51938ecc34c31233f2e6bbe74bf466147238 /test
parent58b9367f2955a9b8f7668eb7f3dc9dd56206de7e (diff)
Add test setup
Diffstat (limited to 'test')
-rw-r--r--test/evil-collection-test.el8
-rw-r--r--test/test-helper.el9
2 files changed, 17 insertions, 0 deletions
diff --git a/test/evil-collection-test.el b/test/evil-collection-test.el
new file mode 100644
index 0000000..3c17b8a
--- /dev/null
+++ b/test/evil-collection-test.el
@@ -0,0 +1,8 @@
+;;; evil-collection-test.el --- Tests for evil-collection -*- lexical-binding: t -*-
+(require 'evil-collection)
+
+(ert-deftest evil-collection-zero-test ()
+ "Zero check blank test."
+ (should (equal 0 0)))
+
+;;; evil-collection-test.el ends here
diff --git a/test/test-helper.el b/test/test-helper.el
new file mode 100644
index 0000000..b5d9e63
--- /dev/null
+++ b/test/test-helper.el
@@ -0,0 +1,9 @@
+;;; test-helper.el --- Helpers for evil-collection-test.el -*- lexical-binding: t -*-
+(require 'ert)
+
+;; FIXME: Adding `f' as a dependency just for this line.
+(require 'f)
+(let ((evil-collection-dir (f-parent (f-dirname (f-this-file)))))
+ (add-to-list 'load-path evil-collection-dir))
+(require 'evil-collection)
+;;; test-helper.el ends here