aboutsummaryrefslogtreecommitdiff
path: root/test/ert-helper.el
blob: 140425bd50b4541aa5400760cb0127fdb9e44d7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(load-file "lisp/mastodon.el")
(load-file "lisp/mastodon-search.el")
(load-file "lisp/mastodon-async.el")
(load-file "lisp/mastodon-http.el")
(load-file "lisp/mastodon-auth.el")
(load-file "lisp/mastodon-client.el")
(load-file "lisp/mastodon-discover.el")
(load-file "lisp/mastodon-inspect.el")
(load-file "lisp/mastodon-media.el")
(load-file "lisp/mastodon-notifications.el")
(load-file "lisp/mastodon.el")
(load-file "lisp/mastodon-profile.el")
(load-file "lisp/mastodon-search.el")
(load-file "lisp/mastodon-tl.el")
(load-file "lisp/mastodon-toot.el")

;; load tests in bulk to avoid using deprecated `cask exec'
(let ((tests (cl-remove-if-not (lambda (x)
                                 (string-suffix-p "-tests.el" x))
                               (directory-files "test/." t directory-files-no-dot-files-regexp))))
  (mapc #'load-file tests))