third_party/subunit
8 years agoAdd -F to suppress everything that isn't a failure/error.
John Arbash Meinel [Thu, 30 Jun 2011 11:20:40 +0000 (13:20 +0200)]
Add -F to suppress everything that isn't a failure/error.

8 years agoRemove -F since it seemed controversial
John Arbash Meinel [Thu, 30 Jun 2011 11:19:03 +0000 (13:19 +0200)]
Remove -F since it seemed controversial

8 years agoMerge trunk tip, resolve NEWS.
John Arbash Meinel [Thu, 30 Jun 2011 11:16:55 +0000 (13:16 +0200)]
Merge trunk tip, resolve NEWS.

8 years agoMerge trunk r142 and resolve conflicts.
John Arbash Meinel [Thu, 30 Jun 2011 10:59:08 +0000 (12:59 +0200)]
Merge trunk r142 and resolve conflicts.

8 years ago* ``subunit-ls`` should handle the new test outcomes in Python2.7 better.
Robert Collins [Mon, 23 May 2011 10:01:39 +0000 (22:01 +1200)]
* ``subunit-ls`` should handle the new test outcomes in Python2.7 better.
  (Robert Collins, #785953)

8 years ago* ``subunit-ls`` now handles a stream with time: instructions that start
Robert Collins [Mon, 23 May 2011 09:57:58 +0000 (21:57 +1200)]
* ``subunit-ls`` now handles a stream with time: instructions that start
  partway through the stream (which may lead to strange times) more gracefully.
  (Robert Collins, #785954)

8 years agoUnbreak subunit-filter with no fixup option given.
Robert Collins [Fri, 20 May 2011 20:08:11 +0000 (08:08 +1200)]
Unbreak subunit-filter with no fixup option given.

8 years agoFix handling of addSkip in TestResultFilter.
Jelmer Vernooij [Tue, 10 May 2011 07:36:17 +0000 (09:36 +0200)]
Fix handling of addSkip in TestResultFilter.

8 years agoAdd test to make sure addSkip is preserved.
Jelmer Vernooij [Mon, 9 May 2011 21:00:42 +0000 (23:00 +0200)]
Add test to make sure addSkip is preserved.

8 years agoFix argument in TestResultFilter.addSkip.
Jelmer Vernooij [Mon, 9 May 2011 17:47:24 +0000 (19:47 +0200)]
Fix argument in TestResultFilter.addSkip.

8 years agoFix thinko in addSuccess refactoring.
Robert Collins [Sun, 1 May 2011 23:17:36 +0000 (11:17 +1200)]
Fix thinko in addSuccess refactoring.

8 years agoSupport testsRun on the tag and time collapsing decorators.
Robert Collins [Sun, 1 May 2011 23:06:27 +0000 (11:06 +1200)]
Support testsRun on the tag and time collapsing decorators.

8 years agoSupport unexpected success outcomes.
Robert Collins [Sun, 1 May 2011 22:45:27 +0000 (10:45 +1200)]
Support unexpected success outcomes.

8 years agoMartins fix for failures on windows.
Robert Collins [Sun, 1 May 2011 22:36:15 +0000 (10:36 +1200)]
Martins fix for failures on windows.

8 years agoAdditionally the protocol now has a keyword uxsuccess for Unexpected Success
Robert Collins [Sun, 1 May 2011 22:21:32 +0000 (10:21 +1200)]
Additionally the protocol now has a keyword uxsuccess for Unexpected Success
reporting. Older parsers will report tests with this status code as 'lost
connection'.

* The Python2.7 / testtools addUnexpectedSuccess API is now supported. This
  required adding a new status code to the protocol. (Robert Collins, #654474)

8 years agoMerge python 3K changes.
Robert Collins [Wed, 27 Apr 2011 04:58:50 +0000 (16:58 +1200)]
Merge python 3K changes.

8 years agoFix join_dir test by being more specific about what constitutes a match
Martin [Wed, 27 Apr 2011 01:32:23 +0000 (02:32 +0100)]
Fix join_dir test by being more specific about what constitutes a match

8 years agoSkip os.fork tests on non-posix systems, by switching to testtools testcases there
Martin [Wed, 27 Apr 2011 01:27:48 +0000 (02:27 +0100)]
Skip os.fork tests on non-posix systems, by switching to testtools testcases there

8 years agoHack ExecTestCase and its tests to sort-of be portable fixing the remaing spew
Martin [Wed, 27 Apr 2011 01:25:24 +0000 (02:25 +0100)]
Hack ExecTestCase and its tests to sort-of be portable fixing the remaing spew

8 years agoMerge addition of --fixup-expected-failures argument to filter-subunit.
Jelmer Vernooij [Tue, 26 Apr 2011 10:14:52 +0000 (12:14 +0200)]
Merge addition of --fixup-expected-failures argument to filter-subunit.

8 years agoAvoid leaking test output in TestTestProtocolServerStartTest.test_indented_test_colon...
Martin [Mon, 25 Apr 2011 21:26:51 +0000 (22:26 +0100)]
Avoid leaking test output in TestTestProtocolServerStartTest.test_indented_test_colon_ignored

8 years agoSplit out method that checks for expected failures into a separate method.
Jelmer Vernooij [Mon, 25 Apr 2011 21:08:53 +0000 (23:08 +0200)]
Split out method that checks for expected failures into a separate method.

8 years agoMove read_test_filter to python/subunit.
Jelmer Vernooij [Mon, 25 Apr 2011 20:44:33 +0000 (22:44 +0200)]
Move read_test_filter to python/subunit.

8 years agoRemove TagCollapsingDecator test.
Jelmer Vernooij [Mon, 25 Apr 2011 20:32:49 +0000 (22:32 +0200)]
Remove TagCollapsingDecator test.

8 years agoUpdate testtools dependency.
Robert Collins [Mon, 25 Apr 2011 05:13:45 +0000 (17:13 +1200)]
Update testtools dependency.

8 years agoTest suite works in python3.
Robert Collins [Mon, 25 Apr 2011 05:11:47 +0000 (17:11 +1200)]
Test suite works in python3.

8 years agoTest suite passing on 3.1.
Robert Collins [Mon, 25 Apr 2011 05:07:43 +0000 (17:07 +1200)]
Test suite passing on 3.1.

8 years agoNearly done.
Robert Collins [Mon, 25 Apr 2011 04:25:24 +0000 (16:25 +1200)]
Nearly done.

8 years agoUpdate stats tests.
Robert Collins [Mon, 25 Apr 2011 01:29:31 +0000 (13:29 +1200)]
Update stats tests.

8 years agoTags in the API are strings. And python3 exception names.
Robert Collins [Mon, 25 Apr 2011 01:10:06 +0000 (13:10 +1200)]
Tags in the API are strings. And python3 exception names.

8 years agoMerge Martin[gz]'s fix for make_stream_binary.
Robert Collins [Mon, 25 Apr 2011 00:52:29 +0000 (12:52 +1200)]
Merge Martin[gz]'s fix for make_stream_binary.

8 years agoMore fixups.
Robert Collins [Mon, 25 Apr 2011 00:40:59 +0000 (12:40 +1200)]
More fixups.

8 years agoRemove presumably erroneous _make_stream_binary call
Martin [Sun, 24 Apr 2011 23:39:31 +0000 (00:39 +0100)]
Remove presumably erroneous  _make_stream_binary call

8 years agoVary fileno attempt exception type to support Python 3
Martin [Sun, 24 Apr 2011 23:38:27 +0000 (00:38 +0100)]
Vary fileno attempt exception type to support Python 3

8 years agoUse try/except rather than getattr to test for fileno _make_stream_binary
Martin [Sun, 24 Apr 2011 23:37:52 +0000 (00:37 +0100)]
Use try/except rather than getattr to test for fileno _make_stream_binary

8 years agoMore small stuff.
Robert Collins [Sun, 24 Apr 2011 23:19:53 +0000 (11:19 +1200)]
More small stuff.

8 years agoProgress.
Robert Collins [Sun, 24 Apr 2011 23:09:54 +0000 (11:09 +1200)]
Progress.

8 years agoMore progress.
Robert Collins [Sun, 24 Apr 2011 22:36:45 +0000 (10:36 +1200)]
More progress.

8 years agoMake test suite importable in py3.
Robert Collins [Sun, 24 Apr 2011 21:40:52 +0000 (09:40 +1200)]
Make test suite importable in py3.

8 years agoGet pydoc3.1 subunit working.
Robert Collins [Sun, 24 Apr 2011 21:29:56 +0000 (09:29 +1200)]
Get pydoc3.1 subunit working.

8 years agoFixup initial py3 support from tres and start digging further.
Robert Collins [Sun, 24 Apr 2011 21:27:18 +0000 (09:27 +1200)]
Fixup initial py3 support from tres and start digging further.

8 years agoMark unexpected successes, too.
Jelmer Vernooij [Mon, 11 Apr 2011 14:38:56 +0000 (16:38 +0200)]
Mark unexpected successes, too.

8 years agoFilter errors as well.
Jelmer Vernooij [Mon, 11 Apr 2011 13:56:05 +0000 (15:56 +0200)]
Filter errors as well.

8 years agoSupport --fixup-expected-failures argument to subunit-filter.
Jelmer Vernooij [Mon, 11 Apr 2011 13:32:47 +0000 (15:32 +0200)]
Support --fixup-expected-failures argument to subunit-filter.

8 years agoAdd test for TagCollapsingDecorator.testsRun.
Jelmer Vernooij [Mon, 28 Mar 2011 13:02:55 +0000 (15:02 +0200)]
Add test for TagCollapsingDecorator.testsRun.

8 years agoRefactor TestResultFilter, making it collapse time. Make TestResultDecorator.tags()
Jonathan Lange [Fri, 18 Mar 2011 12:58:09 +0000 (12:58 +0000)]
Refactor TestResultFilter, making it collapse time. Make TestResultDecorator.tags()
actually work.

8 years agoWork around Python3 syntax errors.
Tres Seaver [Thu, 10 Mar 2011 22:37:19 +0000 (17:37 -0500)]
Work around Python3 syntax errors.

Notions borrowed from the 'six' portability library.

8 years agoAdd different support.
Jonathan Lange [Tue, 15 Feb 2011 10:52:45 +0000 (10:52 +0000)]
Add different support.

8 years agoConsistently use super() rather than upcalling.
Jonathan Lange [Sun, 13 Feb 2011 14:54:48 +0000 (14:54 +0000)]
Consistently use super() rather than upcalling.

8 years agoUse the time collapsing decorator as well.
Jonathan Lange [Sun, 13 Feb 2011 14:53:05 +0000 (14:53 +0000)]
Use the time collapsing decorator as well.

8 years agoMake sure that we don't send time if there are none to send.
Jonathan Lange [Sun, 13 Feb 2011 14:52:42 +0000 (14:52 +0000)]
Make sure that we don't send time if there are none to send.

8 years agoProperly handle multiple events.
Jonathan Lange [Sun, 13 Feb 2011 14:48:21 +0000 (14:48 +0000)]
Properly handle multiple events.

8 years agoAdd a time collapsing decorator.
Jonathan Lange [Sun, 13 Feb 2011 14:39:43 +0000 (14:39 +0000)]
Add a time collapsing decorator.

8 years agoOnly one mechanism for checking to see if a thing is filtered.
Jonathan Lange [Sat, 12 Feb 2011 12:36:50 +0000 (12:36 +0000)]
Only one mechanism for checking to see if a thing is filtered.

8 years agoSimplify TRF by using TagCollapsingDecorator.
Jonathan Lange [Sat, 12 Feb 2011 12:21:07 +0000 (12:21 +0000)]
Simplify TRF by using TagCollapsingDecorator.

8 years agoImplement the tag collapsing logic by stealing stuff from TRF and fixing it.
Jonathan Lange [Sat, 12 Feb 2011 12:16:36 +0000 (12:16 +0000)]
Implement the tag collapsing logic by stealing stuff from TRF and fixing it.

8 years agoGet started, fix a bug in subunit's decorator.
Jonathan Lange [Sat, 12 Feb 2011 12:10:06 +0000 (12:10 +0000)]
Get started, fix a bug in subunit's decorator.

8 years agoPreserve relative ordering of 'time:' statements (fixes #716554)
Jonathan Lange [Sat, 12 Feb 2011 11:15:11 +0000 (11:15 +0000)]
Preserve relative ordering of 'time:' statements (fixes #716554)

8 years agoNEWS
Jonathan Lange [Sat, 12 Feb 2011 11:12:23 +0000 (11:12 +0000)]
NEWS

8 years agoDelete unnecessary code.
Jonathan Lange [Sat, 12 Feb 2011 11:10:13 +0000 (11:10 +0000)]
Delete unnecessary code.

8 years agoMore flakes.
Jonathan Lange [Fri, 11 Feb 2011 17:53:17 +0000 (17:53 +0000)]
More flakes.

8 years agoUnnecessary whitespace.
Jonathan Lange [Fri, 11 Feb 2011 17:46:54 +0000 (17:46 +0000)]
Unnecessary whitespace.

8 years agoPass through time when we aren't in tests.
Jonathan Lange [Fri, 11 Feb 2011 17:45:41 +0000 (17:45 +0000)]
Pass through time when we aren't in tests.

8 years agoFix the immediate bug.
Jonathan Lange [Fri, 11 Feb 2011 17:43:01 +0000 (17:43 +0000)]
Fix the immediate bug.

8 years agoFailing test that demonstrates the bug.
Jonathan Lange [Fri, 11 Feb 2011 16:45:49 +0000 (16:45 +0000)]
Failing test that demonstrates the bug.

8 years agoClarity
Jonathan Lange [Fri, 11 Feb 2011 16:25:36 +0000 (16:25 +0000)]
Clarity

8 years agoParametrize the subunit input.
Jonathan Lange [Fri, 11 Feb 2011 16:23:19 +0000 (16:23 +0000)]
Parametrize the subunit input.

8 years agoTry to make the test set up a little more data driven.
Jonathan Lange [Fri, 11 Feb 2011 16:22:21 +0000 (16:22 +0000)]
Try to make the test set up a little more data driven.

8 years agoFormatting.
Jonathan Lange [Fri, 11 Feb 2011 16:19:01 +0000 (16:19 +0000)]
Formatting.

8 years agoNo need for that either
Jonathan Lange [Thu, 10 Feb 2011 17:59:10 +0000 (17:59 +0000)]
No need for that either

8 years agoNo need to store on the object either.
Jonathan Lange [Thu, 10 Feb 2011 17:58:49 +0000 (17:58 +0000)]
No need to store on the object either.

8 years agoDelete unused method.
Jonathan Lange [Thu, 10 Feb 2011 17:58:09 +0000 (17:58 +0000)]
Delete unused method.

8 years agoPass the filter in.
Jonathan Lange [Thu, 10 Feb 2011 17:57:52 +0000 (17:57 +0000)]
Pass the filter in.

8 years agoReturn, rather than setting an attribute
Jonathan Lange [Thu, 10 Feb 2011 17:46:01 +0000 (17:46 +0000)]
Return, rather than setting an attribute

8 years agoMore flakes.
Jonathan Lange [Thu, 10 Feb 2011 17:44:07 +0000 (17:44 +0000)]
More flakes.

8 years agoMore flakes to fix up
Jonathan Lange [Thu, 10 Feb 2011 17:42:15 +0000 (17:42 +0000)]
More flakes to fix up

8 years agoFlakes
Jonathan Lange [Thu, 10 Feb 2011 17:39:46 +0000 (17:39 +0000)]
Flakes

8 years agoNew 'strict' option to Decoder. (Martin Pool)
Jonathan Lange [Fri, 28 Jan 2011 17:41:03 +0000 (17:41 +0000)]
New 'strict' option to Decoder. (Martin Pool)

8 years agoNEWS entry
Jonathan Lange [Fri, 28 Jan 2011 17:39:19 +0000 (17:39 +0000)]
NEWS entry

8 years agoCR, not cr. Flakes. Whitespace.
Jonathan Lange [Fri, 28 Jan 2011 17:36:39 +0000 (17:36 +0000)]
CR, not cr. Flakes. Whitespace.

8 years ago* The help for subunit-filter was confusing about the behaviour of ``-f`` /
Robert Collins [Sat, 15 Jan 2011 21:50:22 +0000 (10:50 +1300)]
* The help for subunit-filter was confusing about the behaviour of ``-f`` /
  ``--no-failure``. (Robert Collins, #703392)

8 years ago* Force flush of writes to stdout in c/tests/test_child. (Jelmer Vernooij, #687611)
Robert Collins [Fri, 14 Jan 2011 18:36:04 +0000 (07:36 +1300)]
* Force flush of writes to stdout in c/tests/test_child. (Jelmer Vernooij, #687611)

8 years agoDefault to (more) strict decoding of chunked parts
Martin Pool [Wed, 12 Jan 2011 04:49:26 +0000 (22:49 -0600)]
Default to (more) strict decoding of chunked parts

8 years agoTolerate streams with the \r missing from the chunk length.
Martin Pool [Mon, 10 Jan 2011 23:15:55 +0000 (17:15 -0600)]
Tolerate streams with the \r missing from the chunk length.

8 years agoForce flush of writes to stdout in c/tests/test_child.
Jelmer Vernooij [Thu, 9 Dec 2010 00:26:18 +0000 (01:26 +0100)]
Force flush of writes to stdout in c/tests/test_child.

8 years agoMerge subunit.run filtering support.
Robert Collins [Wed, 8 Dec 2010 11:02:39 +0000 (00:02 +1300)]
Merge subunit.run filtering support.

8 years agoThe Subunit Python test runner ``python -m subunit.run`` can now report the
Robert Collins [Tue, 30 Nov 2010 00:52:18 +0000 (13:52 +1300)]
The Subunit Python test runner ``python -m subunit.run`` can now report the
test ids and also filter via a test id list file thanks to improvements in
``testtools.run``. See the testtools manual, or testrepository - a major
user of such functionality.

8 years agoMerge mgz's patch for flushing the TestProtocolClient stream.
Jonathan Lange [Tue, 19 Oct 2010 08:56:26 +0000 (09:56 +0100)]
Merge mgz's patch for flushing the TestProtocolClient stream.

8 years agoDocument the fact that subunit needs testtools 0.9.6 or later.
Jonathan Lange [Thu, 7 Oct 2010 11:31:49 +0000 (12:31 +0100)]
Document the fact that subunit needs testtools 0.9.6 or later.

8 years agoDocument the fact that subunit needs testtools 0.9.6 or later.
Jonathan Lange [Wed, 6 Oct 2010 10:24:35 +0000 (11:24 +0100)]
Document the fact that subunit needs testtools 0.9.6 or later.

8 years agoFlush the stream at the start and end of each test in the python client
Martin [Mon, 4 Oct 2010 22:20:43 +0000 (23:20 +0100)]
Flush the stream at the start and end of each test in the python client

8 years agoMerge subunit_progress() function for C child library.
Jelmer Vernooij [Thu, 30 Sep 2010 07:03:03 +0000 (09:03 +0200)]
Merge subunit_progress() function for C child library.

8 years agoSplit up progress tests.
Jelmer Vernooij [Tue, 28 Sep 2010 20:29:56 +0000 (22:29 +0200)]
Split up progress tests.

8 years agoAdd subunit_progress() function to child interface.
Jelmer Vernooij [Tue, 28 Sep 2010 12:28:34 +0000 (14:28 +0200)]
Add subunit_progress() function to child interface.

8 years ago(bug #623642) Add --no-xfail and -F to subunit-filter.
John Arbash Meinel [Tue, 24 Aug 2010 22:41:12 +0000 (17:41 -0500)]
(bug #623642) Add --no-xfail and -F to subunit-filter.

The existing --no-success only filtered out genuine success cases. Now we
can filter everything down to stuff that would actually be considered a
'failure'.

9 years agoMove the bulk of subunit-ls into an importable Python module.
Jonathan Lange [Thu, 5 Aug 2010 12:29:20 +0000 (13:29 +0100)]
Move the bulk of subunit-ls into an importable Python module.

9 years agoFlakes
Jonathan Lange [Wed, 4 Aug 2010 17:08:49 +0000 (18:08 +0100)]
Flakes

9 years agoWhitespace.
Jonathan Lange [Wed, 4 Aug 2010 17:05:18 +0000 (18:05 +0100)]
Whitespace.

9 years agoMove TestIdPrintingResult from subunit-ls to subunit.test_results
Jonathan Lange [Wed, 4 Aug 2010 17:04:59 +0000 (18:04 +0100)]
Move TestIdPrintingResult from subunit-ls to subunit.test_results

9 years agoRelease 0.0.6.
Robert Collins [Fri, 2 Jul 2010 12:51:46 +0000 (22:51 +1000)]
Release 0.0.6.