Plugin that shows the test result (fail/pass) and test counts in a desktop (system tray) notification.
Will try multiple approaches to find a system-appropriate way to show a desktop notifaction.
Plugin that shows the test result (fail/pass) and test counts in a desktop (system tray) notification. Will try multiple approaches to find a system-appropriate way to show a desktop notifaction. - notify-send - terminal-notifier - java.awt.SystemTray
(expand-command command replacements)
Takes a command string including replacement patterns, and a map of replacements, and returns a vector of command + arguments.
Replacement patterns are of the form %{xxx}
Takes a command string including replacement patterns, and a map of replacements, and returns a vector of command + arguments. Replacement patterns are of the form `%{xxx}`
Return a local path to the Clojure icon.
If Kaocha is running from a jar, then extract the icon to a temp file first, so external programs have access to it.
Return a local path to the Clojure icon. If Kaocha is running from a jar, then extract the icon to a temp file first, so external programs have access to it.
(run-command command result)
Run the given command string, replacing patterns with values based on the given test result.
Run the given command string, replacing patterns with values based on the given test result.
(send-tray-notification result)
Use Java's built-in functionality to display a notification.
Not preferred over shelling out because the built-in notification sometimes looks out of place, and isn't consistently available on Linux.
Use Java's built-in functionality to display a notification. Not preferred over shelling out because the built-in notification sometimes looks out of place, and isn't consistently available on Linux.
(url-input-stream x opts)
Inlined partial version of io/make-input-stream, for babashka.
Inlined partial version of io/make-input-stream, for babashka.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |