Added code for helper for unit tests

master
Elis Axelsson 9 years ago
parent 2bb8a4ca33
commit dc11b51be1
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
  1. 18
      test/test-helper.el

@ -0,0 +1,18 @@
;;; webpaste --- Test helper for loading webpaste in unit tests
;;; Commentary:
;;; Code:
(require 'f)
(defvar webpaste-test--test-path
(f-parent (f-this-file)))
(defvar webpaste-test--root-path
(f-parent webpaste-test--test-path))
(require 'ert)
(require 'webpaste (f-expand "webpaste" webpaste-test--root-path))
(provide 'test-helper)
;;; test-helper.el ends here
Loading…
Cancel
Save