aboutsummaryrefslogtreecommitdiff
path: root/test/ert-helper.el
blob: 5acdc685ff507c0423b0d8ac126dd69a5fac3b4c (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
24
25
26
27
(load-file "lisp/mastodon-http.el")
(load-file "lisp/mastodon-iso.el")
(load-file "lisp/mastodon-tl.el")
(load-file "lisp/mastodon-toot.el")
(load-file "lisp/mastodon-search.el")
(load-file "lisp/mastodon.el")
(load-file "lisp/mastodon-search.el")
(load-file "lisp/mastodon-client.el")
(load-file "lisp/mastodon-auth.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-profile.el")
(load-file "lisp/mastodon-async.el")

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