Thomas Lauf
a21a12974e
#111 Make lengthen.t run on any time
2018-03-05 08:49:31 +01:00
Thomas Lauf
0d2f37a806
#111 Make continue.t run on any time
2018-03-05 08:12:00 +01:00
Thomas Lauf
89d59e3363
Fix time values in tests
2018-03-05 06:47:39 +01:00
Thomas Lauf
9147f743e9
Fail early if summary is empty
2018-02-23 20:35:33 +01:00
Thomas Lauf
b46ac77f64
Add test for case with open interval
2018-02-18 22:58:08 +01:00
Thomas Lauf
25c0dd4492
Optimize imports, reformat test input
2018-02-18 22:57:05 +01:00
Thomas Lauf
7e9fe82fc3
TI-102: Add tests
2018-01-19 16:25:22 +01:00
Thomas Lauf
fa10230d37
Add tests for command "summary"
...
- with open interval
- with day gap
- with week change
- with several tracks per day
2018-01-11 21:18:16 +01:00
Thomas Lauf
8c12227a9d
Optimize imports
2018-01-11 21:18:16 +01:00
Thomas Lauf
17463da32f
Add test descriptions
2018-01-11 21:08:44 +01:00
Thomas Lauf
f1b3b3bb72
Refactor CmdDefault
...
- restore original command behaviour:return exit code 0 if tracking is active, 1 if not
- show welcome screen on first run
- add/update tests
2018-01-05 23:34:16 +01:00
Thomas Lauf
35e5098b51
Extract join function
...
- use join function for std::vector<std::string> from libshared
- add join function for std::set<std::string>
- add joinQuotedIfNeeded for std::set<std::string> and std::vector<std::string>
- add unit tests
- These functions could be replaced with templates and moved to libshared.
2018-01-05 14:25:57 +01:00
Thomas Lauf
95380bbe96
Optimize includes
2018-01-05 14:21:37 +01:00
Thomas Lauf
3aa932eafe
Fix typos
2018-01-05 10:49:17 +01:00
Thomas Lauf
ac18340757
Fix test summary.t
...
- Make it work on single digit calendar weeks
2018-01-05 09:32:41 +01:00
Thomas Lauf
0900c35767
Fix number of expected tests
2018-01-05 09:14:46 +01:00
Paul Beckingham
88d644d193
Copyright 2018
2017-12-31 19:37:13 -05:00
Thomas Lauf
874b163f78
Text beautification
2017-12-15 08:41:07 +01:00
Paul Beckingham
0dea44594e
TW-1936: Tweak tests to have fuller TAP compliance
...
- Thanks to Paul J. Fenwick.
2017-12-09 23:18:54 -05:00
Thomas Lauf
28c39f8f7e
Fix filter for summary when only a date is given
...
- add test
2017-12-07 09:26:21 +01:00
Thomas Lauf
e1a5319c0f
TI-90: Add test for 'continue' with range
2017-12-02 19:17:54 +01:00
Thomas Lauf
9173c86a65
TI-90: Small refactoring
2017-12-02 19:17:54 +01:00
Thomas Lauf
74fa268164
TI-90: Add test for continue with start date
2017-12-02 19:17:54 +01:00
Paul Beckingham
cb25162edf
Tests: Added TI-75 test
2017-08-05 12:32:58 +01:00
Paul Beckingham
0849c73d88
Tests: Removed redundant test
2017-08-05 11:07:03 +01:00
Paul Beckingham
899025740c
Tests: Added TI-66 test
...
- Thanks to A M.
2017-08-05 10:40:26 +01:00
Lukas Barth
25a802cc26
Add test for underscore escaping
2017-08-05 10:15:19 +01:00
Paul Beckingham
ad75fffb03
TI-69: timew config converts integers to times
...
- Thanks to Thomas Lauf.
2017-07-30 11:58:38 +01:00
Paul Beckingham
5167a05d77
Tests: Added future tracking negative test
2017-05-28 09:48:24 -04:00
Paul Beckingham
2c23344b57
Tests: Corrected time in test
2017-05-21 13:12:45 -04:00
Paul Beckingham
3d588dc07c
Tests: Added TI-73 test
...
- Thanks to A M
2017-05-21 13:12:14 -04:00
Paul Beckingham
6b39089ea8
Tests: Try adding time-only interval that should be recorded
2017-05-21 11:10:28 -04:00
Paul Beckingham
367533efda
Tests: Fixed test that failed to catch an exception
...
- And also had a bad test count
2017-04-13 21:14:22 -04:00
Thomas Lauf
01a3c8e3f6
TI-62: Fix test for invalid command
2017-04-11 07:04:05 +02:00
Paul Beckingham
6ade46085e
Tests: Removed unnecessary platform.t
2017-04-08 13:41:25 -04:00
Paul Beckingham
7cc8618c80
Rules: Added support for the platform-dependent behavior of strtoimax
2017-04-08 13:38:11 -04:00
Thomas Lauf
33e0cd185d
TI-68: Add tests for modifying synthetic intervals
2017-04-08 14:50:54 +02:00
Thomas Lauf
a5dc0cd385
TI-27: Continue tracking by ID
...
- Make command 'continue' process ids
- Fix test: immediate start stop creates empty intervals?
2017-04-06 22:46:52 +02:00
Paul Beckingham
c283c9d2c4
TI-70: Timew starts a new interval even if a current interval contains the same set of tags
...
- Thanks to Thomas Babej.
2017-04-04 18:43:33 -04:00
Thomas Lauf
aad36da44f
TI-70: Add tests
...
- 'start' with more tags than current tracking should start new tracking
- 'start' with less tags than current tracking should start new tracking
- 'start' with same tags as current tracking should not start new tracking
2017-04-04 08:38:23 +02:00
Thomas Lauf
7bf4b18517
Tests: Fix pydoc and coding style
2017-04-04 08:36:51 +02:00
Thomas Lauf
e9412388ba
Tests: Fix python doc strings
2017-03-25 15:36:16 +01:00
Thomas Lauf
b509a90e8c
T-67: Add functional tests summary command
2017-03-24 23:22:32 +01:00
Paul Beckingham
dfb0e87d9e
Tests: Added TI-68 test
...
- Thanks to A M.
2017-03-10 08:35:17 -05:00
Thomas Lauf
c1b0998887
TI-29: Add test for changing config
...
- add tests for known simple values, e.g. debug
- add tests for known hierarchical values, e.g. reports.day.month
- add tests for new hierarchical values, e.g. foo.bar.baz
2017-03-09 20:41:06 +01:00
Paul Beckingham
d1a7c313c7
Tests: Added TI-66 test
...
- Thanks to A M.
2017-03-02 18:04:44 -05:00
Paul Beckingham
168cc5b207
Tests: Corrected test with immediate capture of errno
2017-03-02 09:05:27 -05:00
Paul Beckingham
26f2cc8ac4
Test: Added platform verification tests
2017-03-02 08:41:30 -05:00
Thomas Lauf
97ab53afeb
test: Fix expectations for chart
2017-03-01 21:20:35 +01:00
Paul Beckingham
6d0e8ecbea
Tests: Added test for TI-65
2017-02-25 15:07:48 -05:00