Renato Alves
80c01f3ffb
Tests - Remove assertTriggered, redundant with assertTriggeredCount
2015-02-15 18:10:36 +00:00
Renato Alves
1b218d68f5
Tests - Invalid JSON replies in hooks no longer fail the test framework
2015-02-15 18:10:36 +00:00
Renato Alves
e845a25ea6
Unittest - Replace the timestamp function on wrapper.sh
...
* %N is not supported by /bin/date on BSD systems
2015-02-01 20:35:11 +00:00
Renato Alves
6a3edc88a1
Unittest - properly implement Hook.assert* functions
2015-02-01 19:33:08 +00:00
Renato Alves
db78851b40
Unittest - Hook testing, fixed a few mistakes
2015-01-19 14:54:11 +00:00
Renato Alves
d261a38d17
Unittest - Enhanced support for testing hooks (wip)
...
* It is now possible to test:
* Hook Input/Output on STDIN/STDOUT channels
* Exit code of hook script
* Execution count (how many times the hook was executed)
* Timestamp execution (when was the hook executed - milisec resolution)
2014-11-02 00:01:06 +00:00