taskwarrior/test/basetest
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
..
__init__.py Unittest - Add mechanism to skip task and taskd tests 2014-07-18 13:33:51 +01:00
exceptions.py Unittest - default to not merging stdout/stderr during tests 2014-10-20 14:01:21 +01:00
hooks.py Unittest - Enhanced support for testing hooks (wip) 2014-11-02 00:01:06 +00:00
README Unittest - Notes on env vars that affect test execution 2014-07-31 17:07:14 +01:00
task.py Unittest - Enhanced support for testing hooks (wip) 2014-11-02 00:01:06 +00:00
taskd.py Unittest - Enhanced support for testing hooks (wip) 2014-11-02 00:01:06 +00:00
testing.py Unittest - Say where taskd couldn't be found 2014-08-11 11:12:08 +01:00
utils.py Unittest - Enhanced support for testing hooks (wip) 2014-11-02 00:01:06 +00:00

Shell environment variables that affect how and what tests are executed:

TASKW_SKIP -> Causes any test that needs Taskwarrior (task binary) to be skipped
TASKD_SKIP -> Causes any test that needs Task Server (taskd binary) to be skipped
USE_PATH -> Causes tests to look for "task" and "taskd" in PATH instead of the default location