Commit graph

2566 commits

Author SHA1 Message Date
Paul Fenwick
f767ef2f19 test/problems: Updated to handle TAP spec output 2018-05-13 23:25:11 -04:00
Paul Fenwick
3b46553f47 Improve TAP compliance in test suite
This allows tools like `prove` to operate on our test-suite, allowing us
to do things like run recently-failing tests first, randomising test
order, and fancier reporting options.

Changes made:

- TAP output always goes to STDOUT, never to STDERR
- Skipped tests signaled as `ok 1 # skip` as per standard
- Expected failures signaled as `not ok 1 # TODO` as per standard
- `.prove` added to .gitignore
2018-05-13 23:24:57 -04:00
Tomas Babej
f10d1432f3 tests: Add tests for complex and-or queries 2018-05-13 23:21:34 -04:00
Paul Beckingham
bbd764d249 Tests: Added dom tests 2018-05-13 23:20:14 -04:00
Paul Beckingham
0742e5fbbd Tests: Added tw.version DOM test 2018-05-13 23:18:59 -04:00
Paul Beckingham
d5a7769b4f Tests: Added first DOM test 2018-05-13 23:18:17 -04:00
Paul Beckingham
ba372e106f Tests: Renamed dom.t to make way for new DOM object tests 2018-05-13 23:18:00 -04:00
Paul Beckingham
71ca9e8c4c Tests: Added WAITING tests 2018-05-13 23:10:06 -04:00
Paul Beckingham
9078ce5976 Tests: Added UNTIL tests 2018-05-13 23:09:05 -04:00
Paul Beckingham
91b45925e9 Tests: Added SCHEDULED tests 2018-05-13 23:08:10 -04:00
Paul Beckingham
45dda0c9fd Tests: Added READY tests 2018-05-13 23:08:02 -04:00
Paul Beckingham
79fc4f2d47 Tests: Made history tests independent of TZ 2018-05-13 23:07:53 -04:00
Paul Beckingham
0d6fee4053 Tests: Fixed bad regexes 2018-05-13 23:07:40 -04:00
Paul Beckingham
1bb34cb165 Tests: Fixed bad duplicate class/method name 2018-05-13 23:07:29 -04:00
Paul Beckingham
0b4fa9472d Tests: Fixed spaing issue in history test 2018-05-13 23:06:49 -04:00
Paul Beckingham
129fea0a76 Tests: Removed strippedLength() tests 2018-05-13 23:05:22 -04:00
Paul Beckingham
2949a7e86a Tests: Removed taskd group features from test framework 2018-05-13 23:04:47 -04:00
Paul Beckingham
78922d8433 Tests: Disabled ambiguous test (matching libshared) 2018-05-13 23:01:25 -04:00
Paul Beckingham
23c6950692 Tests: Syntax error in Python that went unnoticed 2018-05-13 23:01:00 -04:00
Paul Beckingham
67dc65a67d Tests: Lexer tests now stable with Datetime/duration features disabled 2018-05-13 23:00:30 -04:00
Paul Beckingham
6009e20aa4 Tests: Named date tests migrated to libshared 2018-05-13 22:58:25 -04:00
Paul Beckingham
ce7f2e799e Tests: Eliminated old-style EOD math 2018-05-13 22:57:31 -04:00
Paul Beckingham
f030333766 Tests: Corrected lexer data type for newly-supported date types 2018-05-13 22:57:22 -04:00
Paul Beckingham
1039320a9c Tests: Eliminated namedDates 2018-05-13 22:57:12 -04:00
Paul Beckingham
f2483538d2 Tests: Removed unused Nibbler tests 2018-05-13 22:54:58 -04:00
Paul Beckingham
c5f5b4a1f0 Tests: Eliminated ISO8601d tests 2018-05-13 22:53:10 -04:00
Paul Beckingham
c488e1d45c Tests: Eliminated ISO8601p tests 2018-05-13 22:52:31 -04:00
Paul Beckingham
60e5c488ac DOM: tw.syncneeded should be 0/1, not false/true 2018-05-13 22:45:18 -04:00
Paul Beckingham
b57a734625 Config: Migrated to libshared Configuration 2018-05-13 22:43:33 -04:00
Paul Beckingham
00bbca275c Config: Separated configuration from defaults 2018-05-13 22:43:06 -04:00
Paul Beckingham
e458c17f4f Tests: Added new DOM reference tests 2018-05-13 22:41:38 -04:00
Lukas Barth
80a3f74852 Add unit tests for new history commands 2018-05-13 22:30:28 -04:00
Paul Beckingham
a5d7f1093e CmdTimesheet: Rewrote the command
- Updated the 'timesheet' command with a more compact report that accepts a
  filter, and has a default filter showing the last four weeks of completed and
  started tasks.
2018-05-13 22:29:36 -04:00
Paul Beckingham
01c095cac7 Tests: Improved documenation in template 2018-05-13 22:28:56 -04:00
Paul Beckingham
728390b6e5 Color: Now uses libshared 2018-05-13 22:22:41 -04:00
Paul Beckingham
9ccb83be57 PKI: Updated test_client 2018-05-13 22:22:23 -04:00
Paul Beckingham
424592b873 PKI: Updated CRL 2018-05-13 22:22:23 -04:00
Paul Beckingham
d772eb6add PKI: Updated server 2018-05-13 22:22:23 -04:00
Paul Beckingham
a9651883cd PKI: Updated client 2018-05-13 22:22:23 -04:00
Paul Beckingham
ff67f8c791 PKI: Updated CA 2018-05-13 22:22:23 -04:00
Paul Beckingham
5ff5a5c1ae TW-1881: default.scheduled seems not to work
- Thanks to Onion.
2018-05-13 22:22:04 -04:00
Paul Beckingham
ce97fd5901 TW-1827: Extract annotations from a task
- Thanks to Ryan.
2018-05-13 22:22:04 -04:00
Paul Beckingham
e71be41e72 Tests: Added debug info, which makes it look like TW-1837 it working 2018-05-13 22:22:04 -04:00
Paul Beckingham
ee49ce3165 Tests: Added TW-1837 test 2018-05-13 22:22:04 -04:00
Paul Beckingham
b21e0baa47 TW-1667: hooks: upon failure indicate which hook failed
- Thanks to Daniel Shahaf.
2018-05-13 22:22:04 -04:00
Paul Beckingham
264cc7e2fe Tests: Combined two almost identical tests into one 2018-05-13 22:21:16 -04:00
Paul Beckingham
88516acdaa Copyright update 2018-05-13 20:50:26 -04:00
Paul Beckingham
cdac253556 ViewText: Eliminated 2018-05-13 20:42:52 -04:00
Paul Beckingham
d8d5a15321 Tests: Broke one tests into eight, so it is clear which one fails 2018-05-13 20:41:12 -04:00
Paul Beckingham
c0c476e53d DOM: Converted from ISO8601 to Datetime/Duration
- In addition fixed the week number of 2011-09-01 to 35, therefore the
  tests change also.
2018-05-13 20:34:39 -04:00