Commit graph

1358 commits

Author SHA1 Message Date
Renato Alves
d1d300fc69 basetest: Documentation clarification 2015-06-12 20:20:28 +01:00
Renato Alves
2c4480dc1b Tests: bug.485 merged with filter.t 2015-06-11 23:42:46 +01:00
Renato Alves
bd3cce7d4b simpletap: Show more information in expected failures 2015-06-11 23:35:07 +01:00
Renato Alves
6b8dd60b33 Tests: bug.480 merged with filter.t 2015-06-11 23:06:37 +01:00
Renato Alves
b763ce012c Tests: One more CYGWIN specific skipIf 2015-06-11 11:16:49 +01:00
Paul Beckingham
b138b278b5 tw-1469: Updated test to use unittest.skipIf(). 2015-06-10 20:49:27 -04:00
Renato Alves
afa042fdb4 Tests: Fix due.t failure on cygwin 2015-06-11 01:40:36 +01:00
Renato Alves
f152d14baa Tests: bug.455.t merged with encoding.t 2015-06-11 01:06:17 +01:00
Renato Alves
116c074c43 Tests: bug.441.t now in python 2015-06-11 00:49:36 +01:00
Renato Alves
f2e32739cf Tests: bug.440 merged with append.t 2015-06-11 00:46:51 +01:00
Renato Alves
00ee5dd7a3 Tests: Merge bug.438 with sorting.t 2015-06-11 00:35:43 +01:00
Renato Alves
c3423243d8 Tests: Rename self.diag to self.tap and use self.t.diag where applicable
Having self.diag and self.t.diag was confusing as one referred to TAP
output (self.diag) while the other referred to "task diagnostics"
self.t.diag.

self.diag is now gone and was replaced by self.tap with the same
behavior.
2015-06-10 23:33:56 +01:00
Renato Alves
cd3a848bad Tests: bug.425, bug_434 and wait now in python 2015-06-10 23:13:42 +01:00
Renato Alves
4dd09ca13f Tests: Commented tests are now active and marked as expected failures 2015-06-10 00:11:47 +01:00
Renato Alves
fad867e86b Tests: due.t, bug.418.t convert. Reorganize filter.t 2015-06-09 23:28:46 +01:00
Renato Alves
7e79c14eec Tests: convert ids.t to python 2015-06-09 21:31:59 +01:00
Renato Alves
ef477673d6 Tests: Convert problems to python 2015-06-09 17:12:16 +01:00
Wilhelm Schuermann
27cb2afe2c Tests: Make nag work
Note to self:
Even the most trivial change needs to be tested for idiocy.
2015-06-06 16:44:10 +02:00
Wilhelm Schuermann
ffd1611b46 Tests: Make run_all nag 2015-06-06 16:17:22 +02:00
Renato Alves
9f78e87447 Tests: edit.t set VISUAL instead of EDITOR
VISUAL is checked first and used if available.
If the user has VISUAL defined on the environment, the test will have an
unexpected result.
2015-06-06 04:18:13 +01:00
Renato Alves
7517f0a9a0 Tests: uda_report.t now in Python 2015-06-06 03:06:12 +01:00
Renato Alves
c0286c58de Tests: Merge uda_<type>.t to uda.t and convert to Python 2015-06-06 02:57:07 +01:00
Renato Alves
5c788bf198 Tests: Refactor uda_sort.t to use assertTrue instead 2015-06-06 02:55:57 +01:00
Renato Alves
2962c0d99a Tests: Remove unnecessary imports and simplify template.t 2015-06-06 02:52:33 +01:00
Renato Alves
68647ed25e Tests: upgrade.t now in Python 2015-06-06 01:43:46 +01:00
Renato Alves
d976914013 Tests: verbose.t now in Python and with more tests 2015-06-06 01:43:46 +01:00
Renato Alves
c4ac7dc4c2 Tests: Convert import.t to python 2015-06-06 00:05:51 +01:00
Renato Alves
78525f509d Tests: Convert sorting.t to python 2015-06-05 22:47:35 +01:00
Renato Alves
f001499ac0 Tests: Remove bug.417.t, redundant with sorting.t 2015-06-05 21:30:56 +01:00
Renato Alves
a989a63f62 Tests: Remove decode call on template.t 2015-06-05 21:05:34 +01:00
Renato Alves
382a93a315 Tests: bug.414 now in encoding.t as Python 2015-06-05 21:02:47 +01:00
Renato Alves
eb427e153f Tests: 'task edit' multiline descriptions and annotations 2015-06-05 14:14:37 +01:00
Renato Alves
188fd4ba61 Tests: Accessory functions to create temporary files
These use tempfile.NamedTemporaryFile but allow execution without
raising "Text file busy".
The file is removed at exit (of the process) so no cleanup is necessary.
2015-06-05 14:13:07 +01:00
Renato Alves
8511c9f756 Tests: Strip unnecessary indexing in tests 2015-06-04 20:55:53 +01:00
Renato Alves
bf29210719 Tests: checks for active context in 'context list' 2015-06-04 20:55:15 +01:00
Wilhelm Schuermann
9d6067e2fe TW-303: Make "task import" update existing tasks 2015-05-29 19:49:54 +02:00
Wilhelm Schuermann
5f61703588 TW-1432: start/stop can be issued on completed tasks
- Make "start" set status to pending from completed/deleted.
- Add test to "start_NEW.t", which is to be combined with start.t once
  converted from Perl.
2015-05-28 10:11:12 +02:00
Wilhelm Schuermann
9e20f83f24 Tests: Implement export() for task access 2015-05-28 10:09:02 +02:00
Wilhelm Schuermann
916ca29507 Tests: Remove bashism in conversion script 2015-05-27 19:02:01 +02:00
Renato Alves
90806f3b49 Tests: conversion -v now also lists any perl file under test/ 2015-05-25 18:48:10 +01:00
Renato Alves
4c22f1ddb0 Tests: Include TW-1600 into filter.t 2015-05-25 18:31:30 +01:00
Renato Alves
09bfc27260 Test template now includes an example of expected failure 2015-05-25 18:28:46 +01:00
Renato Alves
1302e69d51 Expected failures are now treated as skipped tests
Before they were being treated as "passing" tests.
Since this might cause them to be silently ignored, classifying them
under "skipped" will ensure they won't go unnoticed.

Expected failures != skipped. The former will always be executed.
2015-05-25 18:15:31 +01:00
Renato Alves
53899296b1 List expected failures with test/problems 2015-05-25 17:57:00 +01:00
Renato Alves
5a0120f0f2 Add test for TW-1262 (currently skipped) 2015-05-25 16:55:55 +01:00
Renato Alves
6ecfab9647 test/README - Add guidelines for writing tests 2015-05-25 16:55:55 +01:00
Wilhelm Schuermann
a78c9a6eb8 TW-1440: Implement "task import" from STDIN
- Read tasks from STDIN when no files are specified, or only "-"
  is specified.
2015-05-25 16:47:37 +02:00
Paul Beckingham
3e043291f0 Cleanup: Combined File, Path and Directory into FS
- The three objects are related and always travel together, so they are now
  combined.
2015-05-25 10:11:41 -04:00
Paul Beckingham
e8d04bdce6 C++11: N1984 auto 2015-05-24 13:36:26 -04:00
Paul Beckingham
7bbc794d3a C++11: N2672 Initializer lists
- Modified code to use the more compact and readable initializer lists.
2015-05-24 13:03:02 -04:00