Liking cljdoc? Tell your friends :D

kaocha.plugin.notifier

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
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
raw docstring

detect-commandclj

(detect-command)
source

exists?clj

(exists? program)
source

expand-commandclj

(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}`
sourceraw docstring

icon-pathclj

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. 
sourceraw docstring

messageclj

(message result)
source

notifier-cli-options-hookclj

(notifier-cli-options-hook opts)
source

notifier-config-hookclj

(notifier-config-hook config)
source

notifier-hooksclj

source

notifier-post-run-hookclj

(notifier-post-run-hook result)
source

run-commandclj

(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.
sourceraw docstring

send-tray-notificationclj

(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.
sourceraw docstring

titleclj

(title result)
source

tray-iconclj

Creates a system tray icon.

Creates a system tray icon.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close