aboutsummaryrefslogtreecommitdiff
path: root/tests/test-integration-startup.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-05 05:12:11 -0500
committerCraig Jennings <c@cjennings.net>2026-05-05 05:12:11 -0500
commitfda1e989e0c22433b0214ab537a61852d906fd4b (patch)
tree81ae67e370ce28abcd931ff8f2219ec88821a9da /tests/test-integration-startup.el
parent84949b4b1d767b10e400bdb126d6091f0684cd65 (diff)
downloadchime-fda1e989e0c22433b0214ab537a61852d906fd4b.tar.gz
chime-fda1e989e0c22433b0214ab537a61852d906fd4b.zip
test: tag integration suite :slow and unstick test-all
I tagged the 15 end-to-end tests across `test-integration-chime-mode.el`, `test-integration-recurring-events-tooltip.el`, and `test-integration-startup.el` with `:tags '(:slow)`. The default `make test` now runs only the 652 fast unit tests; `make test-all` runs the full 667. While verifying, I hit a pre-existing bug in `tests/Makefile` where `test-all`'s `--eval '(ert-run-tests-batch-and-exit)'` came back from eask's argv passthrough with its quotes stripped, which broke shell parsing. Passing the explicit `t` selector dodges whatever eask does to no-arg single-quoted forms. The bug only mattered once integration tests were `:slow` — before that, `test-all` overlapped fully with `test-unit` plus `test-integration`, so nothing actually depended on it working.
Diffstat (limited to 'tests/test-integration-startup.el')
-rw-r--r--tests/test-integration-startup.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-integration-startup.el b/tests/test-integration-startup.el
index 6592cf4..1f60b54 100644
--- a/tests/test-integration-startup.el
+++ b/tests/test-integration-startup.el
@@ -107,6 +107,7 @@ Components integrated:
- chime-check (async wrapper around event gathering)
- chime--gather-info (extracts event details)
- chime--update-modeline (updates modeline display)"
+ :tags '(:slow)
(with-startup-config
(let* ((now (test-time-now))
;; Create events at various times
@@ -181,6 +182,7 @@ Validates that chime-validate-configuration returns nil (no issues) when:
- All other dependencies are available
This ensures the startup validation doesn't block legitimate configurations."
+ :tags '(:slow)
(with-startup-config
(let ((content "#+TITLE: Minimal Test\n\n* TODO Test event\nSCHEDULED: <2025-12-01 Mon 10:00>\n"))
;; Create minimal org file
@@ -205,6 +207,7 @@ When validation fails on first check, chime-check should:
- NOT proceed to event gathering
This validates the early-return mechanism works correctly."
+ :tags '(:slow)
(with-startup-config
;; Set up invalid configuration (empty org-agenda-files)
(setq org-agenda-files nil)
@@ -239,6 +242,7 @@ This validates the early-return mechanism works correctly."
Boundary case: org-agenda-files with only one event.
Validates that the gathering and modeline logic work with minimal data."
+ :tags '(:slow)
(with-startup-config
(let* ((now (test-time-now))
(event-time (test-time-at 0 1 0)) ; 1 hour from now
@@ -266,6 +270,7 @@ Validates that the gathering and modeline logic work with minimal data."
Boundary case: Events exist but are far in the future (beyond lookahead window).
Validates that chime doesn't error and modeline shows appropriate state."
+ :tags '(:slow)
(with-startup-config
(let* ((now (test-time-now))
;; Event 30 days from now (beyond 24-hour lookahead)