Korrat
b33a99a748
Nag based on task state before modification
...
With this patch, taskwarrior uses the urgency of tasks before any
modifications are applied when deciding whether to show nag messages.
Previously, taskwarrior would apply modifications before deciding
whether to show nag messages, which could lead to spurious nag messages
when completing an active task.
2021-07-30 18:56:25 -04:00
sebu06
90bc7f4b23
Fixed rendering of countdown columns
...
Countdown columns were counting up days instead of down.
2021-07-19 20:07:30 -04:00
Scott Mcdermott
178c17d032
tests: Add tests for bug #2519
2021-07-18 09:45:00 -04:00
Scott Mcdermott
07e2c23a91
tests: Add test cases for 'by' date attribute modifier
2021-07-18 09:45:00 -04:00
Tomas Babej
79c860053b
tests: Add a regression test for #2530
2021-07-10 07:24:57 -04:00
Tomas Babej
fb208cf494
tests: Fix incorrect test constant
2021-07-03 10:47:38 -04:00
Tomas Babej
11b85373ee
tests: 'eoy' is the last second of the year
2021-07-03 10:47:38 -04:00
Tomas Babej
d76b4e0d86
tests: Add test for TW #2514
2021-06-26 14:38:18 -04:00
Tomas Babej
88eca5f535
tests: Add test for TW #1804
2021-06-23 00:13:03 -04:00
Tomas Babej
3bf714e715
tests: Add test for TW #1938
2021-06-19 12:29:41 -04:00
Tomas Babej
c8560a8c96
test: Make all tests executable
2021-06-19 12:29:41 -04:00
Tomas Babej
8f16824538
tests: Add test for partial operator over date/string pairs
2021-06-12 15:49:06 -04:00
Tomas Babej
b7541571b5
test: Replace cmake3 with cmake for CentOS builds
2021-06-06 00:27:39 -04:00
oxalica
3c402d4fb7
Prefer /usr/bin/env and searching from PATH
2021-06-02 19:35:18 -04:00
Vladimir Rusinov
e762306563
Add a test for capitalized months and days of the week.
...
The change was implemented in
https://github.com/GothenburgBitFactory/libshared/pull/33 .
This change adds validation in TaskWarrior.
Fixes:
* https://github.com/GothenburgBitFactory/taskwarrior/issues/2160
* https://github.com/GothenburgBitFactory/taskwarrior/issues/2364
2021-05-29 10:36:25 -04:00
Rosen Penev
ab7f5b0b51
clang-tidy: loop conversion
...
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 09:13:22 -04:00
Tomas Babej
6aa46e7d1a
ci: Test on Ubuntu 21.04
2021-04-22 00:02:37 -04:00
Tomas Babej
70815edb8a
ci: Test on Fedora 34
2021-04-22 00:02:37 -04:00
DanielMowitz
277373ba89
Added tests for single and multiday holidays.
2021-04-21 22:23:00 -04:00
Tomas Babej
d20631beb0
tests: Add regression test for TW #2451
2021-04-14 02:44:33 -04:00
Max Rossmannek
6546c050c5
Un-wait a waiting task when deleted
2021-04-06 23:34:32 -04:00
Max Rossmannek
33dcea68f5
Un-wait a waiting task when done
...
Implements #2322
2021-04-06 23:34:32 -04:00
Tomas Babej
506cb4fc8a
tests: Add regression test for TW #2429
2021-04-04 22:14:14 -04:00
Tomas Babej
80490b625e
tests: Fix context-related tests
2021-04-03 15:01:39 -04:00
Tomas Babej
87c05c4c6d
tests: Context definition now requires answering two questions
2021-04-03 15:01:39 -04:00
Tomas Babej
26fb4521fe
tests: Update commands.t to reflect new signature of CmdAdd
...
The 'task add' command now accepts context.
2021-04-03 15:01:39 -04:00
Tomas Babej
60bce31df1
tests: Fix TW URL in the version.t test
2021-03-17 22:05:27 -04:00
Tomas Babej
0d1542ccd7
meta: Update various links to https
2021-03-12 07:58:04 -05:00
Tomas Babej
d215bc52b1
tests: Update styling
2021-03-02 20:39:32 -05:00
Rosen Penev
04454a995f
clang-tidy: use raw string literals
...
Found with modernize-raw-string-literals
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-02 20:36:02 -05:00
Tomas Babej
cdbab698e3
tests: Add tests for TW #2124
2021-01-31 05:04:43 -05:00
Tomas Babej
5317f7c795
bash_tap: Implement mechanism to mark a test as expected failure
...
Test author can now mark a bash tap test as expected failure by setting
EXPFAIL environment variable to a non-zero value.
2021-01-31 05:04:43 -05:00
Tomas Babej
a5eee5fcc6
tests: Expand tests for #2392
2021-01-30 21:53:37 -05:00
Tomas Babej
c6fdb7e590
tests: Add test for TW-1883 ( #1896 )
2021-01-30 21:40:41 -05:00
Tomas Babej
5525460bdf
tests: Add test for TW #2257
2021-01-30 21:40:41 -05:00
Tomas Babej
f96e78b721
tests: Unmark two expectedFailure tests that are now working
2021-01-30 21:40:41 -05:00
Tomas Babej
b2fa368afa
tests: Expect failure for another test with project:B) syntax
...
It could be argued we should not support this syntax (i.e. the ')'
character needs to be surrounded by a space. Note that the ability to
contain ')' as part of the attribute value was explicitly requested (as
a bug report) in TW-1455 (#1481 ).
2021-01-30 21:40:41 -05:00
Tomas Babej
fac48e5e93
tests: Add test for TW-1895 ( #1908 )
2021-01-30 21:40:41 -05:00
Tomas Babej
13cf6decd3
tests: Add test for TW #2386
2021-01-30 21:40:41 -05:00
Nate Wheeler
9be55fc070
Fixes issue where bash paths were not correctly deconstructed, leading to unit tests failing when the path had a space in it
2021-01-27 21:22:50 -05:00
Tomas Babej
63383698da
tests: Fix dependencies.t test
...
Fix minor implementation problems and only skip the undeterministic
portion of the tests.
2021-01-24 03:08:10 -05:00
Tomas Babej
7d2fb18e5d
tests: Add test for TW #2392
2021-01-24 03:08:10 -05:00
Tomas Babej
b9bc0f8c87
tests: expectedFailure decorator takes no arguments
2021-01-24 03:08:10 -05:00
Tomas Babej
368e323d80
tests: Mark tests as expected failure instead of skip
...
That way we are notified by the test suite if the underlying issue gets
fixed.
2021-01-18 02:59:11 -05:00
Tomas Babej
5928604752
tests: Remove expected failure marks for relative date resolution
...
The tests now no longer fail.
2021-01-18 02:59:11 -05:00
Tomas Babej
7935364fce
tests: Adjust tests for recent variant changes
2021-01-18 02:59:11 -05:00
Tomas Babej
d26f79a458
docs: Update copyright
2021-01-03 22:58:02 -05:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Tomas Babej
c4cdfdae64
tests: Simplify quote and escape tests to make them more transparent
...
Remove excessive escaping of backslashes with usage of raw strings. This
makes it more obvious what is the test input and expected output.
One test is currently failing after editing and was marked as expected
failure.
2020-12-31 18:10:52 -05:00
Tomas Babej
9753e22d0c
tests: Adjust tests enforcing incorrect behaviour
...
In 1a001cae
, double json-decoding of the attribute values was removed,
and as such we need to adjust tests to actually enforce correct
behaviour.
2020-12-31 14:45:46 -05:00