aboutsummaryrefslogtreecommitdiff
path: root/tests/test-pearl-smoke.el
blob: 53c4d0640917f6c0904b83116a0c8bbb95db6a35 (plain)
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
28
29
30
31
32
33
34
35
36
37
;;; test-pearl-smoke.el --- Harness smoke test for pearl -*- lexical-binding: t; -*-

;; Copyright (C) 2026 Craig Jennings

;; Author: Craig Jennings <c@cjennings.net>

;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

;;; Commentary:

;; Plumbing-proof smoke test: confirms the harness loads the package and
;; defines its public commands.  Behavior coverage lives in the per-area
;; test files (test-pearl-mapping.el, -format.el, ...).

;;; Code:

(require 'test-bootstrap (expand-file-name "test-bootstrap.el"))

(ert-deftest test-pearl-smoke-feature-loaded ()
  "The package source loads and defines its public commands."
  (should (featurep 'pearl))
  (should (fboundp 'pearl-list-issues))
  (should (fboundp 'pearl-new-issue)))

(provide 'test-pearl-smoke)
;;; test-pearl-smoke.el ends here