Renato Alves
52746e8504
TAP: Don't fail on errors during setUpClass
2015-07-23 17:42:41 +01:00
Renato Alves
ce378c8f62
TAP: When test description is undefined, don't include __main__ in output
2015-07-03 21:53:12 +01: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
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
Renato Alves
bd3cce7d4b
simpletap: Show more information in expected failures
2015-06-11 23:35:07 +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
cd216bd4fd
simpletap - Add color to test state when running on tty
2015-03-12 20:49:50 +00:00
Renato Alves
ac4a5c6d62
simpletap - Include scenario for expected failures
...
* Expected failures are treated as "ok" followed by a report of what went wrong
2015-03-12 20:00:02 +00:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Renato Alves
18581a6ca4
Unittest - Avoid second exception on framework tracing error
...
* Prevents masking of the initial exception due to a second one.
2014-10-18 01:29:01 +01:00
Renato Alves
07cd033cbc
Unittest - Readability and information improvements with test failures
2014-07-24 16:07:58 +01:00
Renato Alves
f39617a753
Unittest - Fix newlines should be interpreted in printed output
2014-07-24 13:10:44 +01:00
Renato Alves
3fd06257b7
Unittest - Buffer stdout/stderr until after test status is printed
2014-07-18 20:06:29 +01:00
Renato Alves
7cc4775060
Unittest - Properly comment output lines in TAP format
2014-07-15 15:56:26 +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
112d4bfb14
Improvement TW-1255
...
- #TW-1255 New testing framework (thanks to Renato Alves).
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-02-09 20:10:24 -05:00