taskwarrior/test
Paul Beckingham 36e31811b0 TW-1606: scheduled.any filter
- The Lexer::dom type worked embedded, but not isolated (thanks to Peter Rochen).
2015-04-29 18:53:13 -04:00
..
basetest Tests: Fix framework log collection error 2015-04-27 11:39:34 +01:00
json Unit Tests 2011-05-22 14:41:40 -04:00
simpletap simpletap - Add color to test state when running on tty 2015-03-12 20:49:50 +00:00
test_certs Certs 2015-01-19 18:25:21 -05:00
test_hooks Tests: expose 'args' passed to hook scripts 2015-04-06 13:43:41 +01:00
.gitignore Unіt Tests 2015-03-07 11:59:37 -05:00
abbreviation.t Tests - Rename testname of abbreviation.t 2015-02-16 15:36:09 +00:00
add.t Tests: common/reusable variables live in basetest.utils 2015-03-27 10:14:44 +00:00
alias.t Tests - Convert alias.t to python 2015-02-17 13:46:00 +00:00
annotate.t Tests - convert annotate.t to python 2015-02-18 14:05:53 +00:00
append.t Tests - convert append.t to python 2015-02-18 16:26:59 +00:00
args.1.t Tests - convert args.1.t to python 2015-02-18 19:54:45 +00:00
args.t Tests - convert args.t to python 2015-02-18 19:32:58 +00:00
autocomplete.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bash_completion.t Scripts: Disable hooks in bash completion script 2015-04-01 16:23:42 +02:00
bug.327.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.360.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.368.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.414.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.417.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.418.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.425.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.434.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.438.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.440.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.441.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.455.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.480.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.485.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.489.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.495.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.555.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.605.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.628.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.634.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.635.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.649.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.656.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.674.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.694.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.697.x Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.703.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.708.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.804.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.818.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.819.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.835.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.837.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.839.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.851.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.856.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.879.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.884.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.886.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.899.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.906.t TW-1584: attr.{isnt,not} use partial matching 2015-04-02 13:38:04 +02:00
bug.917.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.924.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.932.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.954.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.955.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.956.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.972.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.986.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.991.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.1006.t Tests - remove unused imports 2015-02-16 14:09:04 +00:00
bug.1031.t Tests - convert bug.1031.t to python 2015-03-04 00:54:40 +00:00
bug.1036.t Tests - convert bug.1036.t to python 2015-03-06 15:10:07 +00:00
bug.1063.t Tests - convert bug.1063.t to python 2015-03-11 15:32:54 +00:00
bug.1254.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.1267.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.annotate.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.annual.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.before.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.bulk.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.c001.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.cal.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.calc.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.concat.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.hasnt.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.period.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.range.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.recur.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.sort.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.start.extra.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.summary.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bug.uuid.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
bulk.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
cal.t Unit Tests 2015-02-08 14:04:22 -05:00
calc.t Unit Tests 2015-03-01 21:19:16 -05:00
caseless.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
cli.t Unit Tests 2015-03-07 17:31:15 -05:00
CMakeLists.txt Unіt Tests 2015-03-07 11:59:37 -05:00
color.rules.t Tests: Modified tests to accomodate new 'prioirity' color rules 2015-04-05 14:05:29 -04:00
color.t.cpp Unit Tests 2015-03-07 12:14:39 -05:00
completed.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
completion.t Tests - rename bug.1043.t to completion.t and convert to python 2015-03-06 15:19:04 +00:00
config.obsolete.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
config.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
confirmation.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
context.t tests: Fix asserted strings in context tests 2015-02-24 16:51:20 -05:00
conversion Conversion 2015-03-07 11:38:52 -05:00
count.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
countdown.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
custom.columns.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
custom.config.t Tests - rename bug.1065.t to custom.config.t and convert to python 2015-03-11 15:32:54 +00:00
custom.recur_ind.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
custom.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
custom.tag_ind.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
date.iso.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
date.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
dateformat.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
dates.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
datesort.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
datetime-negative.t Unit Tests 2015-02-08 13:18:23 -05:00
default.command.t Unit Tests 2015-01-04 10:55:01 -05:00
default.t Priority: Converted 'priority' attribute to a UDA 2015-04-04 19:30:33 -04:00
delete.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
denotate.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
dependencies.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
diag.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
diag_color.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
directory.t.cpp Tests: Code formatting 2015-04-25 11:55:19 -04:00
dom.2.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
dom.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
due.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
duplicate.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
duplicate2.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
duration.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
enpassant.t Tests - merge args.[2-5].t with enpassant.t and convert to python 2015-02-19 13:38:27 +00:00
eval.t.cpp Merge branch '2.4.2' into lexer2 2015-02-22 15:26:22 -05:00
export.t TW-1583: Invalid ID displayed after done/delete 2015-03-28 10:36:58 +01:00
export.yaml.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
feature.559.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
feature.608.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
feature.632.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
feature.725.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
feature.891.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
feature.1013.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
feature.1061.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
feature.default.project.t Tests - rename bug.1023.t to feature.default.project.t and convert to python 2015-03-03 01:25:45 +00:00
feature.print.empty.columns.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
file.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
filter-empty.t Unit Tests 2015-01-04 10:55:01 -05:00
filter-prefix.t TW-1584: attr.{isnt,not} use partial matching 2015-04-02 13:38:04 +02:00
filter.t Tests - merge bug.1110.t with filter.t and convert to python 2015-03-12 19:34:58 +00:00
fontunderline.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
history.annual.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
history.monthly.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
hooks.env.t Tests: expose 'args' passed to hook scripts 2015-04-06 13:43:41 +01:00
hooks.on-add.t Unit Tests 2015-03-07 16:18:44 -05:00
hooks.on-exit.t Tests - Remove assertTriggered, redundant with assertTriggeredCount 2015-02-15 18:10:36 +00:00
hooks.on-launch.t Tests - Remove assertTriggered, redundant with assertTriggeredCount 2015-02-15 18:10:36 +00:00
hooks.on-modify.t Unit Tests 2015-03-07 16:18:44 -05:00
hyphenate.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
i18n.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
ids.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
import.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
import.todo.sh.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
import.yaml.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
iso8601d.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
iso8601p.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
json.t.cpp Build: Resolve some more compiler warnings 2015-03-29 18:03:36 -04:00
json_test.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
json_test.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
label.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
lexer.t.cpp TW-1606: scheduled.any filter 2015-04-29 18:53:13 -04:00
limit.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
list.all.projects.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
list.all.tags.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
list.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
log.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
math.t Unit Tests 2015-01-04 10:55:01 -05:00
msg.t.cpp Unit Tests 2015-03-07 11:35:48 -05:00
nag.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
next.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
nibbler.t.cpp Cleanup 2015-02-17 10:58:45 -05:00
oldest.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
op_and.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
op_gt.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
op_gte.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
op_lt.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
op_lte.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
op_or.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
op_xor.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
overdue.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
override.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
partial.t Unit Tests 2015-02-28 12:00:36 -05:00
path.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
prepend.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
pri_sort.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
problems Unit Tests 2015-03-07 17:55:42 -05:00
project.t Tests: Corrected test that assumes lines are longer than they are 2015-03-29 23:52:34 -04:00
rc.override.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
rc.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
README Unit Tests 2015-02-08 13:51:27 -05:00
recur.disabled.t Tests: Add test case for disabled recurrence mechanism 2015-01-25 16:06:26 -05:00
recur.limit.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
recur.sort.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
recur.t Tests: Removed unused code 2015-04-05 13:21:20 -04:00
recur.until.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
recur.weekdays.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
roundtrip.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
run_all.in Tests - run_all script now exports TASKD_USE_PATH=1 2015-03-03 01:50:57 +00:00
rx.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
sequence.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
shell.t Unit Tests 2015-03-07 11:48:42 -05:00
sorting.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
special.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
start.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
subproject.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
substitute.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
t.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
t2.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
t3.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
tag.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
tdb2.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
template.t Tests: expose 'args' passed to hook scripts 2015-04-06 13:43:41 +01:00
test.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
test.h Updated copyright to 2015 2015-01-01 00:00:41 -05:00
text.t.cpp Lexer 2015-02-22 20:23:00 -05:00
timesheet.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
tw-21.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-101.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-252.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-262.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-268.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-285.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-295.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1300.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1306.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1359.t Unit Test 2015-03-05 21:29:38 -05:00
tw-1377.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1379.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1381.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1414.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1418.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1424.t TW-1424 2015-01-05 06:53:51 -05:00
tw-1430.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1436.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1438.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1441.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1445.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1447.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1452.x Unit Tests 2015-02-14 19:10:57 -05:00
tw-1468.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1469.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1481.x Unit Tests 2015-01-20 22:06:46 -05:00
tw-1486.t Unit Tests 2015-01-04 10:55:01 -05:00
tw-1510.t Tests: Add test for TW-1510 2015-02-14 17:10:22 -05:00
tw-1542.t Unit Tests 2015-02-15 11:45:31 -05:00
tw-1549.t TW-1549 2015-02-24 22:04:05 -05:00
uda_date.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
uda_defaults.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
uda_duration.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
uda_numeric.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
uda_orphan.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
uda_report.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
uda_sort.t Tests: UDA sort tests 2015-04-04 15:48:01 -04:00
uda_string.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
uda_value.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
undo.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
upgrade.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
urgency.t Tests: Converted priority urgency coefficients to UDAs 2015-04-05 14:58:07 -04:00
utf8.t.cpp Unіt Tests 2015-03-07 11:59:37 -05:00
utf8_tw.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
util.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
uuid.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_add.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_and.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_cast.t.cpp Build: More changes to address 32-bit builds 2015-04-18 10:26:37 +01:00
variant_divide.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_equal.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_exp.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_gt.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_gte.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_inequal.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_lt.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_lte.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_match.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_math.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_modulo.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_multiply.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_nomatch.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_not.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_or.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_partial.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_subtract.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
variant_xor.t.cpp Updated copyright to 2015 2015-01-01 00:00:41 -05:00
verbose.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00
version.t Tests - merge basic.t with version.t and convert to python 2015-03-09 16:02:26 +00:00
view.t.cpp Priority: Converted 'priority' attribute to a UDA 2015-04-04 19:30:33 -04:00
wait.t Updated copyright to 2015 2015-01-01 00:00:41 -05:00

README
======

This is the task.git/test/README file, and contains notes about the Taskwarrior
test suite.


Running Tests
-------------

TL;DR  cd test && make && ./run_all && ./problems

All unit tests produce TAP (Test Anything Protocol) output, and are run by the
'run_all' test harness.

The 'run_all' script produces an 'all.log' file which is the accumulated output
of all tests. Before executing 'run_all' you need to compile the C++ unit
tests, by running 'make' on the 'test' directory.

The script 'problems' will list all the tests that fail, with a count of the
failing tests.

Any TAP harness may be used.


Architecture
------------

There are three varieties of tests:

  * Perl unit tests that use Test::More and the JSON module. We are phasing
    these out, and will accept no new Perl tests. These tests are high level
    and exercise Taskwarrior at the command line level.

  * C++ unit tests that test low-level object interfaces. These are typically
    very fast tests, and are exhaustive in nature.

  * Python unit tests that are at the highest level, exercising the command
    line, hooks and syncing. There is an example, 'template.t', that shows how
    to perform various high level tests.

All tests are named with the pattern '*.t', and any other forms are not run by
the test harness. Additionally a test must be set executable (chmod +x) for it
to be run. In the case of Perl and Python tests one can still run them manually
by launching them with 'perl/python test.t'. It also allows us to keep tests
submitted for bugs that are not scheduled to be fixed in the upcoming release,
and we don't want the failing tests to prevent us from seeing 100% pass rate
for the bugs we *have* fixed.


Goals
-----

The test suite is evolving, and becoming a better tool for determining whether
code is ready for release. There are goals that shape these changes, and they
are:

  * Migrate test suite to Python and C++, eliminating all Perl.  The Python
    test suite is more expressive and high level. Migrating reduces
    dependencies.

  * Increase test coverage by testing more features, more thoroughly.

  * Write fewer bug regression tests. Over time, bug regression tests are less
    useful than feature tests, and more likely to contain overlapping coverage.

  * The Python test suite provides test isolation, such that each test is run
    in a separate directory. This will allow eventual parallelization, but not
    until the Perl tests are eliminated.

  * Eliminate obsolete tests, which are tests that have overlapping coverage.
    This means migrate bug-specific tests to feature tests.

  * Categorize the tests, restructure the directories.


What Makes a Good Test
----------------------

A good test ensures that a feature is functioning as expected, and contains
both positive and negative aspects, or in other words looks for expected
behavior as well as looking for the absence of unexpected behavior.


How to Submit a Test Change/Addition
------------------------------------

Mail it to support@taskwarrior.org, or attach it to an open bug.


TODO
----

For anyone looking for test-related tasks to take on, here are some suggestions:

  * Take tw-285.t and improve it to test more (if not all) virtual tags, then
    rename it virtual-tags.t.

  * Select a bug.*.t Perl test and convert it to Python using the template.

  * Look at the latest todo.txt file format spec, and make sure that
    import.todo.sh.t is testing the current format.

  * Select a feature.*.t Perl test, convert it to Python using the template,
    then rename it to <feature>.t

  * Find and eliminate individual test that do the same thing.


---