diff options
Diffstat (limited to 'tests/test-pearl-smoke.el')
| -rw-r--r-- | tests/test-pearl-smoke.el | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/test-pearl-smoke.el b/tests/test-pearl-smoke.el new file mode 100644 index 0000000..53c4d06 --- /dev/null +++ b/tests/test-pearl-smoke.el @@ -0,0 +1,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 |
