taskwarrior/test/basetest
Dustin J. Mitchell c639cc030d
Fix and test handling of backslashes in hooks (#3909)
* Update hooks to use `read -r` and `printf`

This portably avoids any interpretation of backslash escapes by the
shell.

* Support running make_tc_task elsewhere

* Add a test for backslashes in task descriptions
2025-07-08 08:40:34 +02:00
..
__init__.py Remove encoding declaration in Python files (#3568) 2024-07-26 23:36:23 -04:00
CMakeLists.txt add initial bulk run from pre-commit over all files 2024-07-29 22:34:51 +02:00
compat.py Remove encoding declaration in Python files (#3568) 2024-07-26 23:36:23 -04:00
exceptions.py add initial bulk run from pre-commit over all files 2024-07-29 22:34:51 +02:00
hooks.py add initial bulk run from pre-commit over all files 2024-07-29 22:34:51 +02:00
meta.py add initial bulk run from pre-commit over all files 2024-07-29 22:34:51 +02:00
README Sync against taskchampion-sync-server (#3118) 2023-07-08 10:27:33 -04:00
task.py Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
testing.py add initial bulk run from pre-commit over all files 2024-07-29 22:34:51 +02:00
utils.py Test for unusual task data (#3770) 2025-02-05 08:20:35 -05:00

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

TASKW_SKIP -> Causes any test that needs Taskwarrior (task binary only) to be skipped (TestCase)

TASK_USE_PATH -> Causes tests to look for "task" in PATH instead of the default location