taskwarrior/test/basetest
Felix Schurk d093ce3d84
Fix test script paths (#3387)
* fix path to task executable in pyton tests

The current approach would copy the current files into the `build/test`
directory. Updating the paths according to the custom user setup.

By the copy I appended `.py` to have a clear visible distingtion which
ones are the python tests.

As soon as a source file in the normal directory is changed, it is
copied over and the corresponding file is updated.

From now on the python tests would need to get run in the according
build directory.

* reflect the current build instruction in PR template

* update paths and globing in run_all

* add line break for every cpp test

* remove .gitignore in test folder

As now all the auxillary files such as `all.log` as well as the
executables are present in the `build` directory there is no longer a
need to ignore them.

* update paths in python test scripts and enable deactivated

* remove .py extension when copy to build

Further remove glob pattern for `*.t.py` tests.

* remove accidentally added template.t from test files
2024-04-28 15:38:14 -04:00
..
__init__.py Sync against taskchampion-sync-server (#3118) 2023-07-08 10:27:33 -04:00
CMakeLists.txt Fix test script paths (#3387) 2024-04-28 15:38:14 -04: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: Don't hardcode errno constants 2018-02-17 13:59:29 +01:00
meta.py Tests: generalize MetaTest approach 2015-07-22 16:11:15 +01:00
README Sync against taskchampion-sync-server (#3118) 2023-07-08 10:27:33 -04:00
task.py Sync against taskchampion-sync-server (#3118) 2023-07-08 10:27:33 -04:00
testing.py Sync against taskchampion-sync-server (#3118) 2023-07-08 10:27:33 -04:00
utils.py Fix test script paths (#3387) 2024-04-28 15:38:14 -04: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