aboutsummaryrefslogtreecommitdiff
path: root/tests/test-duet-smoke.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-duet-smoke.el')
-rw-r--r--tests/test-duet-smoke.el36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/test-duet-smoke.el b/tests/test-duet-smoke.el
new file mode 100644
index 0000000..a101dd2
--- /dev/null
+++ b/tests/test-duet-smoke.el
@@ -0,0 +1,36 @@
+;;; 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."
+ (should (featurep 'duet))
+ (should (commandp 'duet)))
+
+(provide 'test-duet-smoke)
+;;; test-duet-smoke.el ends here