taskwarrior/test/basetest
Tomas Babej 9fe7993d96 tests: Add export_one and latest helpers to the Task test interface
- The 'export_one' method will export one task matching a filter,
  raising error if not exactly one task was matched.

- The 'latest' property will return the task matching the "+LATEST"
  filter.
2015-09-05 14:33:02 -04:00
..
__init__.py Tests: Remove unnecessary imports and simplify template.t 2015-06-06 02:52:33 +01:00
compat.py Tests: Create compat.py for Python 3 compatibility 2015-07-24 15:29:41 +01:00
exceptions.py Tests - Rework how taskw is launched from python 2015-02-16 01:59:32 +00:00
hooks.py Tests: expose 'args' passed to hook scripts 2015-04-06 13:43:41 +01:00
meta.py Tests: generalize MetaTest approach 2015-07-22 16:11:15 +01:00
README basetest: Documentation clarification 2015-06-12 20:20:28 +01:00
task.py tests: Add export_one and latest helpers to the Task test interface 2015-09-05 14:33:02 -04:00
taskd.py Tests: Force protocol to IPv4 on localhost 2015-05-03 15:52:12 +01:00
testing.py Tests: Rename self.diag to self.tap and use self.t.diag where applicable 2015-06-10 23:33:56 +01:00
utils.py Tests: More Python 3 compatibility changes 2015-07-24 15:29:41 +01: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)
TASKD_SKIP -> Causes any test that needs Task Server (taskd) to be skipped (ServerTestCase)

# NOTE: Tests that use both "task" and "taskd" (ServerTestCase) are not skipped when TASKW_SKIP is set.

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