Automatically installs Taskwarrior, Taskserver (TODO: and Timewarrior). This project aims to support automated installation of all Taskwarrior hook scripts, configuration flavours etc. with a single command.
GNU Affero General Public License v3.0
17
stars
7
forks
source link
Make creation date/time of integration test backlog lines, testing-time-dependent. #34
Currently the creation date/time of tasks is set and fixed to 20170714T024000Z. That yields a list of 2000+ tasks in 2019, since the customSortServer script takes almost a second per task, the integration test duration is currently over half an hour, which is too long.
Solution
Read the current date and time, and make the task 2 days before the current date and time, this means only 2 recurrent child tasks are created, which yields faster integration tests.
To convert the date/time you can use the "HelperScript.java".
Currently the creation date/time of tasks is set and fixed to
20170714T024000Z
. That yields a list of 2000+ tasks in 2019, since the customSortServer script takes almost a second per task, the integration test duration is currently over half an hour, which is too long.Solution
Read the current date and time, and make the task 2 days before the current date and time, this means only 2 recurrent child tasks are created, which yields faster integration tests.
To convert the date/time you can use the "HelperScript.java".