Commit graph

33 commits

Author SHA1 Message Date
Michael Aquilina
d41c04f778
remove flakey test 2024-05-13 10:51:50 +01:00
Michael Aquilina
0e4ed6b3c5
fix: correctly omit --icon from notify-send when not set 2024-05-13 10:48:41 +01:00
61825162+CaderIdris@users.noreply.github.com
a663a08bca
Bugfix: Order of arguments passed unit tests but caused invalid parsing
of expire time argument

Modified: How icon argument is called
2024-04-23 12:04:05 +01:00
61825162+CaderIdris@users.noreply.github.com
f405233080
Added tests and updated README
Added: Test for running notify-send when declaring success icon
Added: Config information to README

Note: With the way the tests are currently structured, I couldn't find a
way to test the failure icon. I'm not an expert in zunit so there may
be a way that I can't find
2024-04-23 11:50:34 +01:00
Michael Aquilina
22b2c61ed1
fix: transient test case 2023-06-02 14:01:43 +01:00
Michael Aquilina
993f5de86e
fix: update tests to include --transient flag 2023-05-11 15:23:14 +01:00
Avi Dessauer
68fed1af8b Notify app-name=zsh 2019-09-05 18:27:38 -04:00
Michael Aquilina
cbd4e2bcac
Remove sudo prefix from command if detected 2019-08-26 12:25:43 +01:00
Michael Aquilina
a77777987d
Add support for specifying a WHITELIST 2019-08-24 21:36:35 +01:00
Michael Aquilina
5c39901fc7
Print warning if notify-send is a missing dependency 2019-08-17 16:46:36 +01:00
Dmytro Meleshko
bada173f10 Change MacOSX to macOS 2019-08-01 11:40:17 +03:00
Dmytro Meleshko
73da2d107e Fix tests 2019-08-01 11:39:33 +03:00
Michael Aquilina
aed7176e73
Add support for custom message formats 2019-07-31 13:37:42 +01:00
Michael Aquilina
87d1e9bd0c
Test configurable expiry time 2019-07-21 21:59:14 +01:00
Michael Aquilina
cac8315195
Improvements to notification formatting and options 2019-07-21 21:50:45 +01:00
Michael Aquilina
7b6d59479a
Rename main test file to test_plugin.zunit 2019-07-20 21:34:17 +01:00
Michael Aquilina
e25849a979
Move auto_notify_send tests to their own file 2019-07-20 19:17:30 +01:00
Michael Aquilina
a8dff148e5
update test with multiple pipes 2019-07-17 21:57:54 +01:00
Michael Aquilina
d6b002ee3b
Add test file for _is_auto_notify_ignored 2019-07-17 21:55:42 +01:00
Michael Aquilina
bf73292fd0
Improve tracking code and add more tests 2019-07-17 21:36:30 +01:00
Michael Aquilina
8ec1400032
Handle piped commands 2019-07-17 17:08:26 +01:00
Michael Aquilina
1a022b8f68
Fix MacOSX notification test 2019-07-17 14:06:56 +01:00
Michael Aquilina
354d852d72
Add test to check version export 2019-07-15 20:54:48 +01:00
Michael Aquilina
41117d1b45
Add test for MacOSX notifications 2019-07-15 17:04:56 +01:00
Michael Aquilina
38448ea40d
Add missing } at the end of test 2019-07-15 14:49:18 +01:00
Michael Aquilina
64a938bbb5
Fix test title 2019-07-15 14:12:08 +01:00
Michael Aquilina
af202a809c
Add test for unknown platforms 2019-07-15 13:56:04 +01:00
Michael Aquilina
9dc90567e3
Format + add tests 2019-07-15 12:05:13 +01:00
Michael Aquilina
2bfb93573b
Fix uname during tests 2019-07-15 10:43:51 +01:00
Michael Aquilina
070eea8265
Check commands to ignore after alias expansion 2019-07-14 18:22:46 +01:00
Michael Aquilina
bd83266ccf
Add enable/disable functionality 2019-07-14 12:18:56 +01:00
Michael Aquilina
73b47b1383
Add tests for _auto_notify_send 2019-07-14 11:47:33 +01:00
Michael Aquilina
a0316d35b0
Add basic tests 2019-07-14 11:14:24 +01:00