Commit graph

1652 commits

Author SHA1 Message Date
Paul Beckingham
4ff618ecbb Test: Cleaned up test class names, import 2015-07-03 15:07:16 -04:00
Paul Beckingham
f3f38bd7aa Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5 2015-07-03 14:56:23 -04:00
Renato Alves
ce378c8f62 TAP: When test description is undefined, don't include __main__ in output 2015-07-03 21:53:12 +01:00
Paul Beckingham
3dc7b253dc Test: Converted to Python 2015-07-03 14:55:43 -04:00
Paul Beckingham
029e55779a Test: Converted to Python 2015-07-03 14:44:17 -04:00
Renato Alves
a3bbef3682 TAP: Show name of file containing the test(s)
In addition to the state of the test the description now includes the
location of the test, i.e. the filename that contains it.
Useful in central.tasktools.org.
2015-07-03 19:26:30 +01:00
Renato Alves
b824f3323f Tests: Convert bug.485.t 2015-07-03 19:26:30 +01:00
Paul Beckingham
e88f4cf776 Test: Leftover junk removed 2015-07-03 14:25:59 -04:00
Paul Beckingham
2a8d9079d1 Test: Converted to Python
- Also improved the ambiguity of the testing.
2015-07-03 14:21:46 -04:00
Paul Beckingham
01112e8ca8 Test: Fixed assumption in test
- Test assumed that if /foo/ appears in the output, all is well, but there is a
  false positive case where 'foo' is also in the path name of unrelated output.
2015-07-03 13:47:49 -04:00
Paul Beckingham
6c3a94dbce Test: Separated compound arguments into individual tokens 2015-07-01 22:05:22 -04:00
Paul Beckingham
72e13e4235 Test: Removed obsolete '--noambiguous' arg from calc test 2015-07-01 22:00:11 -04:00
Paul Beckingham
36f03a9f35 Test: Added missing include for Cygwin 2015-07-01 18:20:28 -04:00
Paul Beckingham
0cbcbeedc5 Tests: Removed calls to Eval::ambiguity 2015-07-01 17:55:56 -04:00
Paul Beckingham
8e8b2f9f38 Tests: Added color to the C++ tests 2015-07-01 16:12:48 -04:00
Paul Beckingham
86ed232348 Lexer: Added ::wasQuoted to determine original quote state 2015-06-28 12:35:06 -04:00
Paul Beckingham
050aad49f2 Test: Corrected test 2015-06-28 00:15:53 -04:00
Paul Beckingham
239cf2d848 Test: Corrected test 2015-06-27 23:54:45 -04:00
Paul Beckingham
fd8e616076 Test: Corrected test 2015-06-27 23:47:32 -04:00
Paul Beckingham
94b4f2bfba Test: Corrected test 2015-06-27 23:42:24 -04:00
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