summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
18 hoursfix:org-roam: copy completed tasks to dailies on state transitionsCraig Jennings
Fixed and enhanced the org-roam hook that copies completed tasks to daily notes: - Fixed hook not triggering immediately after Emacs launch by moving it outside the lazy-loaded use-package org-roam :config block and into with-eval-after-load 'org - Changed hook to trigger for ANY org-done-keyword (DONE, CANCELLED, etc.) instead of just "DONE" - Updated hook to only trigger on non-done → done transitions using org-last-state, preventing duplicate copies when changing between done states (e.g., DONE → CANCELLED) - Added docstrings to org-roam helper functions to fix checkdoc linter warnings - Created comprehensive ERT test suite with 10 tests covering: * Hook registration before org-roam loads (lazy-loading fix) * Transitions to done states (nil→DONE, TODO→DONE, IN-PROGRESS→DONE, WAITING→CANCELLED) * Non-triggering cases (done→done, transitions to non-done states)
4 daystest: Add unit tests for `join-line-or-region` and `join-paragraph`Craig Jennings
Add comprehensive test cases for the `cj/join-line-or-region` and `cj/join-paragraph` functions within the custom-line-paragraph module. These tests cover normal, boundary, and error cases to ensure the proper functionality of line and paragraph joining features. They address various scenarios including line breaks, whitespace, Unicode content, and cursor positioning, enhancing the robustness of existing functionality.
4 daysfeat: undead-buffers: Add `cj/make-buffer-undead` function and testsCraig Jennings
Introduce a new function `cj/make-buffer-undead` that appends a buffer name to the `cj/undead-buffer-list`, preventing it from being killed. This comes along with a suite of tests to check various scenarios and edge cases for handling undead buffers. Additionally, add tests for related functions: `cj/kill-buffer-or-bury-alive`, `cj/kill-buffer-and-window`, and others to ensure they correctly manage buffers, particularly with undead-status considerations. Refactor `undead-buffer-list` naming for consistency and clarity in the module.
6 daystest: dwim-shell-security: Add ERT tests for securityCraig Jennings
Introduce ERT tests for security-related functions within dwim-shell-config. These tests encompass normal, boundary, and error conditions to ensure: - Passwords aren't exposed in command outputs - Temporary files have restricted permissions (mode 600) - Proper cleanup of temporary files post-operation - Handling of edge cases and errors effectively
6 dayschore: testutil-general: update base directory path and commentsCraig Jennings
- Change base directory path from ~/.temp-gptel-tests/ to ~/.temp-emacs-tests/. - Modify accompanying docstrings and comments to reflect this update.
6 daystest: adding tests for compilation, keyboard macros, undead buffersCraig Jennings
2025-10-12changing repositoriesCraig Jennings