Commit graph

1532 commits

Author SHA1 Message Date
Paul Beckingham
e0291d35e4 Test: Corrected test 2015-06-27 20:48:03 -04:00
Paul Beckingham
299ecad49f Tests: Converted to Python 2015-06-27 17:13:48 -04:00
Paul Beckingham
9ece20d635 Test: Changed tests that depended on 'Permanently' being part of the feedback 2015-06-27 16:12:30 -04:00
Paul Beckingham
7425c8f2ae Test: Removed useless tests
- The args.1.t script contained tests that weren't testing what they
  claimed to test, and are now removed.
2015-06-27 14:35:07 -04:00
Paul Beckingham
14c95dcb3b Tests: Removed Lexer tests for unsupported ISO date formats 2015-06-27 14:20:16 -04:00
Paul Beckingham
4b8fdd0fbe ISO8601: Removed non-extended forms
- Removed support for non-extended forms, which is approximately half of the
  formats.  These include:
    YYYYMMDD
    YYYYWww
    YYYYWwwD
    hhmmѕsZ
    hhmmZ
    hhZ
  and combinations thereof. Essentially all forms that contains run-on sequences
  of integers, without separators. These removed forms will still be supported
  via rc.dateformat.
- Removed unsupported forms from iso8601d.t.cpp.
- Removed unsupported forms from datetime-negative.t, and corrected the tests
  that now succeed.
2015-06-27 13:48:42 -04:00
Paul Beckingham
6f38d531a1 Test: Removed obsolete 'run_all' processing 2015-06-25 23:39:42 -04:00
Paul Beckingham
7b13f57959 Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5 2015-06-25 23:33:56 -04:00
Paul Beckingham
fcfc1d1a31 ISO8601: Removed ambiguous format support
- Disallows 2-digit times, such as 14 (2pm).  Now requires at least minutes
  included as well. This is likely to need further review, and possible dropping
  of all non-extended date forms (hhmmss, yyyymmdd), otherwise there will always
  be confusion between ID, UUID and ISO8601 dates.
- Removed 2-digit time tests.
2015-06-25 23:20:59 -04:00
Renato Alves
03847ab8ba Test: run_all is now in Python and defaults to parallelizing tests
In addition to the conversion to Python, run_all now defaults to running
all Python tests in parallel, using the same approach previously
available via '--fast'. If desired one can force all tests to run
serially by calling run_all with --serial

A debugging flag was now also included in run_all.  Pass one or more -l
(-l, -ll or -lll) for different levels of debugging information.
2015-06-25 23:36:28 +01:00
Renato Alves
50fa772ce1 Test: problems no longer includes "expected failures" in skipped 2015-06-25 22:34:43 +01:00
Renato Alves
290674d7c1 Tests: problems script now outputs color and optional --summary
The problems script now outputs color on each of the test categories,
following the same rules used by simpletap.

It also now includes a --summary switch which outputs the same short
report seen when using ./run_all.
2015-06-25 18:57:56 +01:00
Paul Beckingham
c0df2b9f70 Test; Converted to Python, removed unnecessary tests 2015-06-24 22:08:58 -04:00
Paul Beckingham
7e8f6eb41e Test: Removed unnecessary import 2015-06-24 21:48:48 -04:00
Paul Beckingham
bd44193f8d Test: Updated README 2015-06-24 16:17:38 -04:00
Renato Alves
a7fa29fb65 Tests: merge op_* to operators.t and convert to Python 2015-06-24 20:12:49 +01:00
Renato Alves
4164c8184b Tests: bug.489 merged with filter.t 2015-06-24 20:12:49 +01:00
Paul Beckingham
8d8f2f1d95 Tests: Relocated tests to eliminate a script
- Relocated (relevant) tests from bug.concat.t to uda_orphan.t, which yields
  better grouping, and allows the deletion of bug.concat.t, which contains
  tests that are no longer relevant.
2015-06-24 13:31:38 -04:00
Paul Beckingham
edff3e0e94 Tests: Converted undo.t to Python 2015-06-24 12:30:54 -04:00
Paul Beckingham
e66ad50e7e Tests: Removed 'name=value' lexer test
- Test is now a duplicate, because 'name=value' was three tokens, and is now a
  pair.
2015-06-22 21:27:08 -04:00
Renato Alves
53f7786da5 Simpletap: Handle "Unexpected success" cases
When a test decorated with @expectedFailure unexpectedly passes, fail
that test until the decorator is removed.
2015-06-22 17:32:46 +01:00
Paul Beckingham
cd8eb4b1b0 Tests: Some 'expectedFailure' test were fixed 2015-06-21 16:13:33 -04:00
Paul Beckingham
b2803bddda Tests: Added test for Lexer::Type::set 2015-06-19 18:30:32 -07:00
Paul Beckingham
afa39de68b Tests: Combined and converted DOM unit tests
- Eliminated dom.t.cpp and therefore dom.t
- Eliminated dom.2.t (perl)
- Created dom.t (python) combining the above
2015-06-14 22:15:33 -04:00
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