aboutsummaryrefslogtreecommitdiff
path: root/tests/test-duet-smoke.el
blob: 07d75ea15eca43cf0816d8c1e9195cc3e57b2ae7 (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-duet-smoke.el --- Harness smoke test for duet -*- 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 the
;; entry command is defined.  Behavior coverage lives in the per-area test
;; files added by later phases.

;;; Code:

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

(ert-deftest test-duet-smoke-feature-loaded ()
  "The package source loads and defines its entry command and commander mode."
  (should (featurep 'duet))
  (should (commandp 'duet))
  (should (fboundp 'duet-mode)))

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