Renato Alves
00ee5b2289
Unittest - Skip tests that use faketime if not available
2014-07-18 17:20:27 +01:00
Renato Alves
fdbb8e02f0
Unittest - Add test example using libfaketime
2014-07-18 17:12:28 +01:00
Renato Alves
15795e514d
Unittest - Implement faketime for use in taskw
2014-07-18 17:12:28 +01:00
Renato Alves
02683aecd7
Unittest - Make is easier to reset env vars of task and taskd
2014-07-18 14:01:04 +01:00
Renato Alves
2a198d59fe
Unittest - Add mechanism to skip task and taskd tests
...
* When testing multiple clients vs server versions, repeating client
tests is unnecessary. By setting the env variables TASKW_SKIP and
TASKD_SKIP it will now be possible to skip all task (client only) and
taskd (client + server) tests, respectively.
2014-07-18 13:33:51 +01:00
Renato Alves
72e8a73ae0
Unittest - Add prefixes to task and taskd temporary folders
2014-07-18 13:20:06 +01:00
Paul Beckingham
86dd05c51d
Merge pull request #10 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
...
* commit 'f585bdcdf5
':
Unittest - Test for task diag always displaying bold
Unittest - Properly comment output lines in TAP format
Unittest - Test that the task binary used matches the current commit
2014-07-15 17:12:41 +00:00
Renato Alves
f585bdcdf5
Unittest - Test for task diag always displaying bold
2014-07-15 16:01:00 +01:00
Renato Alves
7cc4775060
Unittest - Properly comment output lines in TAP format
2014-07-15 15:56:26 +01:00
Renato Alves
d65e9b2594
Unittest - Test that the task binary used matches the current commit
2014-07-15 15:39:23 +01:00
Paul Beckingham
f24db73a55
Merge pull request #9 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
...
* commit '6007da7218
':
Unittest - Renumber bug 1377 and strip leftover comments
Unittest - No need to check for exit code as it's already implicit
2014-07-15 13:59:05 +00:00
Renato Alves
6007da7218
Unittest - Renumber bug 1377 and strip leftover comments
2014-07-15 14:34:04 +01:00
Renato Alves
6fc907ffd5
Unittest - No need to check for exit code as it's already implicit
2014-07-15 14:33:23 +01:00
Paul Beckingham
1abd5460d7
Merge pull request #8 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
...
* commit '1f279ffde8
':
Unittest - Try to avoid racing conditions failures when capturing stdout/stderr
2014-07-15 11:17:21 +00:00
Paul Beckingham
b02fc28466
Unit Tests
...
- Added tw-268.t
2014-07-14 22:39:06 -04:00
Paul Beckingham
34df9633ff
Unit Tests
...
- Added tw-1377.t from Jira (thanks to Renato Alves).
2014-07-14 22:35:31 -04:00
Paul Beckingham
cd89800e56
Unit Tests
...
- Improved test by checking error codes.
2014-07-14 22:33:51 -04:00
Renato Alves
1f279ffde8
Unittest - Try to avoid racing conditions failures when capturing stdout/stderr
...
* The new unblocking strategy for subprocesses involves timeouts and
waiting periods. If the timeout is too short (or absent) tests may show
intermittent failure.
* Increasing the timeout may make tests a bit slower but more reliable.
2014-07-15 03:29:49 +01:00
Paul Beckingham
76998987c5
Unit Tests
...
- Added tw-1359.t
2014-07-14 22:18:04 -04:00
Paul Beckingham
9b6b1cf5f8
Merge pull request #7 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
...
* commit '9bd7b336f9
':
Unittest - Don't use unittest.TestCase use basetest.TestCase instead
Unittest - Example of TAP diag use in template.t
Unittest - Stream blocking tests can now be safely performed
Unittest - CommandError exception treats SIGABRT specially
Unittest - exit code may be None if process failed to finish
Unittest - Add example of skipping taskd test on template.t
Unittest - Add code to check if taskd is available
Unittest - Add which() backported from py3.3
Unittest - Don't display "task diag" by default on error
Unittest - Don't escape new-line characters in TAP output
Unittest - Bring back diag() for generating TAP output
2014-07-15 02:05:53 +00:00
Renato Alves
9bd7b336f9
Unittest - Don't use unittest.TestCase use basetest.TestCase instead
2014-07-15 03:04:17 +01:00
Renato Alves
ea5186716e
Unittest - Example of TAP diag use in template.t
...
* Also prettify its output with the amazing whitespace
2014-07-15 03:02:47 +01:00
Renato Alves
e3d0d2ff34
Unittest - Stream blocking tests can now be safely performed
...
* Processes that blocked waiting for stdin data will now be aborted
after a 1 second timeout.
* As a side-effect any process that takes longer than 1 second to
finish will also be aborted.
2014-07-15 02:43:57 +01:00
Renato Alves
7f9148efb4
Unittest - CommandError exception treats SIGABRT specially
...
* SIGABRT will be used to signal processes that failed to finish after
the process assigned time (default 1 second).
2014-07-15 02:40:56 +01:00
Renato Alves
04f5f7e2a8
Unittest - exit code may be None if process failed to finish
2014-07-15 01:37:17 +01:00
Renato Alves
5f50c44041
Unittest - Add example of skipping taskd test on template.t
2014-07-15 00:51:29 +01:00
Renato Alves
45c73fc473
Unittest - Add code to check if taskd is available
2014-07-15 00:50:58 +01:00
Renato Alves
b77dfc6312
Unittest - Add which() backported from py3.3
2014-07-15 00:49:50 +01:00
Renato Alves
617183612c
Unittest - Don't display "task diag" by default on error
2014-07-14 16:10:44 +01:00
Renato Alves
d419fb9560
Unittest - Don't escape new-line characters in TAP output
2014-07-14 11:44:28 +01:00
Renato Alves
d354d13263
Unittest - Bring back diag() for generating TAP output
...
* Still needs work to make sure output is displayed after the test
status (not ok ...) and not before.
2014-07-14 11:38:04 +01:00
Paul Beckingham
75fe62149d
TW-1359
...
- TW-1359 "one-two-three" in description triggers Malformed ID error.
2014-07-13 23:40:40 -04:00
Paul Beckingham
aca193799a
Merge pull request #6 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
...
* commit '4ae56838e4
':
Unittest - Include "task diag" output on error
2014-07-13 23:23:31 +00:00
Renato Alves
4ae56838e4
Unittest - Include "task diag" output on error
...
* If any command passed to runSuccess or runError returns an unexpected
exit code, the output of 'task diag' will be added to stdout/stderr.
2014-07-14 00:25:43 +01:00
Paul Beckingham
10a64d694e
Merge pull request #5 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
...
* commit '47c113bf8a
':
Unittest - Don't run template.t as a regular test
Unittest - docstring clarification
Unittest - Replacing old basetest framework
UnitTest - Alias for runSuccess
Unittest - Add a line break on last line of initial config
2014-07-13 22:16:27 +00:00
Renato Alves
47c113bf8a
Unittest - Don't run template.t as a regular test
2014-07-13 23:14:46 +01:00
Renato Alves
906ca1a4aa
Unittest - docstring clarification
...
* Clarify how the alias is supposed to work in case readers are not
familiar with what __call__ does.
2014-07-13 23:10:16 +01:00
Renato Alves
42cfda704f
Unittest - Replacing old basetest framework
...
* Adapt bugs to work with the newer testing framework
2014-07-13 23:09:53 +01:00
Renato Alves
6a28c2d175
UnitTest - Alias for runSuccess
...
* Use t() (given t = Task()) as an alias to t.runSuccess()
2014-07-13 23:09:23 +01:00
Renato Alves
ceaf9d3462
Unittest - Add a line break on last line of initial config
2014-07-13 23:09:00 +01:00
Richard Boß
f998037086
Typo
...
- Fixed typo in 'newest' and 'oldest' report definitions.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-13 14:24:24 -04:00
lolilolicon
c92139389a
taskdata.vim fixes; ftdetect backlog.data as JSON
2014-07-11 20:13:16 -04:00
lolilolicon
722cc9b300
Update taskedit.vim for multiline values
...
Commit 0c1fa8b
enables multiline value for "Description:". Update
taskedit.vim syntax file for this:
1) Now all keys are required to be indented exactly 2 spaces.
2) We treat all keys equally, allowing all values to span multiple
lines, up until the next key.
2014-07-11 20:13:13 -04:00
lolilolicon
09ea21ef7b
Update taskrc VIM syntax file for 2.4.0
2014-07-11 20:13:10 -04:00
Paul Beckingham
e8cd1c8eb0
Config
...
- Updated report titles.
2014-07-10 23:57:39 -04:00
Paul Beckingham
fae31e5e4d
Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0
2014-07-10 23:00:17 -04:00
Paul Beckingham
c57a1dbc6f
TW-1373
...
- TW-1373 taskrc.vim VIM syntax file updated (thanks to lolilolicon).
2014-07-10 22:58:59 -04:00
Paul Beckingham
4a81dc89f2
Config
...
- Added listing breaks on the 'project' columns, for the 'list' and 'minimal'
reports.
2014-07-10 22:56:07 -04:00
Paul Beckingham
ab3935ac85
TW-193
...
- TW-193 Support listing breaks.
2014-07-10 22:48:17 -04:00
Paul Beckingham
bd7e66a939
Context
...
- Improved sort column parsing to include an optional trailing solidus, in
addition to the +/- sort direction.
2014-07-10 22:14:35 -04:00