third_party/subunit
12 years agoProgress, of a sort.
Jonathan Lange [Thu, 12 Apr 2012 23:12:32 +0000 (00:12 +0100)]
Progress, of a sort.

12 years agoAdd tests that exercise the subunit-filter filter.
Jonathan Lange [Tue, 10 Apr 2012 15:10:34 +0000 (16:10 +0100)]
Add tests that exercise the subunit-filter filter.

12 years agoExtract a helper.p
Jonathan Lange [Tue, 10 Apr 2012 13:54:40 +0000 (14:54 +0100)]
Extract a helper.p

12 years agoComposition is better than inheritance.
Jonathan Lange [Tue, 10 Apr 2012 13:41:45 +0000 (14:41 +0100)]
Composition is better than inheritance.

12 years agoMake sure all of our predicates support tags.
Jonathan Lange [Tue, 10 Apr 2012 13:39:10 +0000 (14:39 +0100)]
Make sure all of our predicates support tags.

12 years agoAllow the predicate to filter tags.
Jonathan Lange [Tue, 10 Apr 2012 13:26:44 +0000 (14:26 +0100)]
Allow the predicate to filter tags.

12 years agoA layer of abstraction that can help us.
Jonathan Lange [Tue, 10 Apr 2012 13:12:20 +0000 (14:12 +0100)]
A layer of abstraction that can help us.

12 years agoFlakes
Jonathan Lange [Tue, 10 Apr 2012 13:12:14 +0000 (14:12 +0100)]
Flakes

12 years agoFactor out the "fixup expected failures" thing so they look more like result
Jonathan Lange [Tue, 10 Apr 2012 12:59:31 +0000 (13:59 +0100)]
Factor out the "fixup expected failures" thing so they look more like result
transformers.

12 years agoExtract out a filter base class that just deals with predicates.
Jonathan Lange [Tue, 10 Apr 2012 12:56:05 +0000 (13:56 +0100)]
Extract out a filter base class that just deals with predicates.

12 years agoMerge lp:~jml/subunit/to-csv -- Add subunit2csv script to filter subunit output
Jonathan Lange [Tue, 27 Mar 2012 12:29:42 +0000 (13:29 +0100)]
Merge lp:~jml/subunit/to-csv -- Add subunit2csv script to filter subunit output

12 years agoFactor out subunit-notify
Jonathan Lange [Tue, 27 Mar 2012 11:17:37 +0000 (12:17 +0100)]
Factor out subunit-notify

12 years agoAdd a post-run hook.
Jonathan Lange [Tue, 27 Mar 2012 11:13:32 +0000 (12:13 +0100)]
Add a post-run hook.

12 years agoTry to reduce double negatives and be more explicit about what happens to
Jonathan Lange [Tue, 27 Mar 2012 11:01:50 +0000 (12:01 +0100)]
Try to reduce double negatives and be more explicit about what happens to
the forwarded input.

12 years agoNot XML
Jonathan Lange [Tue, 27 Mar 2012 10:58:18 +0000 (11:58 +0100)]
Not XML

12 years agoRename main() and give it a docstring.
Jonathan Lange [Tue, 27 Mar 2012 10:57:51 +0000 (11:57 +0100)]
Rename main() and give it a docstring.

12 years agoFactor out JUnitXML
Jonathan Lange [Tue, 27 Mar 2012 10:52:50 +0000 (11:52 +0100)]
Factor out JUnitXML

12 years agoDocstrings and renaming.
Jonathan Lange [Tue, 27 Mar 2012 10:48:22 +0000 (11:48 +0100)]
Docstrings and renaming.

12 years agoMore fiddling about.
Jonathan Lange [Tue, 27 Mar 2012 10:32:03 +0000 (11:32 +0100)]
More fiddling about.

12 years agoMore tweaking of boundaries.
Jonathan Lange [Tue, 27 Mar 2012 10:24:48 +0000 (11:24 +0100)]
More tweaking of boundaries.

12 years agoTry to factor out the filter code.
Jonathan Lange [Tue, 27 Mar 2012 10:19:19 +0000 (11:19 +0100)]
Try to factor out the filter code.

12 years agoRename csv_result to CsvResult.
Jonathan Lange [Sun, 25 Mar 2012 14:58:44 +0000 (15:58 +0100)]
Rename csv_result to CsvResult.

12 years agoDon't write anything until startTestRun is called.
Jonathan Lange [Sun, 25 Mar 2012 14:57:45 +0000 (15:57 +0100)]
Don't write anything until startTestRun is called.

12 years agoTighter testing.
Jonathan Lange [Sun, 25 Mar 2012 14:54:00 +0000 (15:54 +0100)]
Tighter testing.

12 years agoDon't bother testing the script because no one has bothered for any of
Jonathan Lange [Sun, 25 Mar 2012 14:50:47 +0000 (15:50 +0100)]
Don't bother testing the script because no one has bothered for any of
the other scripts

12 years agoTest for csv output.
Jonathan Lange [Sun, 25 Mar 2012 14:48:46 +0000 (15:48 +0100)]
Test for csv output.

12 years agoResolve XXX about testtools support for tags.
Jonathan Lange [Sun, 25 Mar 2012 14:42:36 +0000 (15:42 +0100)]
Resolve XXX about testtools support for tags.

12 years agoMerge trunk.
Jonathan Lange [Sun, 25 Mar 2012 14:38:54 +0000 (15:38 +0100)]
Merge trunk.

12 years agoUpdate to behave correctly with tags.
Jonathan Lange [Sun, 25 Mar 2012 14:38:18 +0000 (15:38 +0100)]
Update to behave correctly with tags.

12 years agoUse public testtools API for getting exception strings.
Jonathan Lange [Mon, 12 Mar 2012 11:43:39 +0000 (11:43 +0000)]
Use public testtools API for getting exception strings.

12 years agoClean up a flake
Jonathan Lange [Thu, 16 Feb 2012 10:18:09 +0000 (10:18 +0000)]
Clean up a flake

12 years agoMake sure the tests pass with 0.9.11 as well as 0.9.12 & 13
Jonathan Lange [Thu, 16 Feb 2012 09:59:12 +0000 (09:59 +0000)]
Make sure the tests pass with 0.9.11 as well as 0.9.12 & 13

12 years agoMerge trunk
Jonathan Lange [Thu, 16 Feb 2012 09:35:51 +0000 (09:35 +0000)]
Merge trunk

12 years agoet binary mode on the stream for forwarding subunit output (mgz)
Jonathan Lange [Fri, 10 Feb 2012 11:26:44 +0000 (11:26 +0000)]
et binary mode on the stream for forwarding subunit output (mgz)

12 years agoCode that works for 0.9.11 and against testtools trunk
Jonathan Lange [Thu, 9 Feb 2012 19:01:04 +0000 (19:01 +0000)]
Code that works for 0.9.11 and against testtools trunk

12 years agoDon't make so many assumptions about how testtools formats details.
Jonathan Lange [Thu, 9 Feb 2012 18:40:15 +0000 (18:40 +0000)]
Don't make so many assumptions about how testtools formats details.

12 years agoFix to call the public API in testtools.
Jonathan Lange [Thu, 9 Feb 2012 18:04:37 +0000 (18:04 +0000)]
Fix to call the public API in testtools.

12 years agoTodos
Jonathan Lange [Fri, 3 Feb 2012 09:19:07 +0000 (09:19 +0000)]
Todos

12 years agoFactor out the assertions.
Jonathan Lange [Thu, 2 Feb 2012 10:58:39 +0000 (10:58 +0000)]
Factor out the assertions.

12 years agoSwathe of tests.
Jonathan Lange [Wed, 1 Feb 2012 19:20:05 +0000 (19:20 +0000)]
Swathe of tests.

12 years agoMerge trunk
Jonathan Lange [Wed, 1 Feb 2012 18:46:25 +0000 (18:46 +0000)]
Merge trunk

12 years agoDeal with testtools moving doubles out of helpers.
Jonathan Lange [Wed, 1 Feb 2012 18:38:26 +0000 (18:38 +0000)]
Deal with testtools moving doubles out of helpers.

12 years agoFlakes
Jonathan Lange [Wed, 1 Feb 2012 18:35:06 +0000 (18:35 +0000)]
Flakes

12 years agoAdd a CSV filter.
Jonathan Lange [Tue, 31 Jan 2012 19:49:33 +0000 (19:49 +0000)]
Add a CSV filter.

12 years agoFlakes
Jonathan Lange [Tue, 31 Jan 2012 19:49:23 +0000 (19:49 +0000)]
Flakes

12 years agoFix shell tests to handle timestamps (Paired with Stewart).
Robert Collins [Thu, 26 Jan 2012 03:07:09 +0000 (16:07 +1300)]
Fix shell tests to handle timestamps (Paired with Stewart).

12 years agoTag support has been implemented for TestProtocolClient.
Robert Collins [Wed, 11 Jan 2012 05:42:53 +0000 (18:42 +1300)]
Tag support has been implemented for TestProtocolClient.
(Robert Collins, #518016)

12 years agoHandle latest testtools changes.
Robert Collins [Wed, 11 Jan 2012 05:32:22 +0000 (18:32 +1300)]
Handle latest testtools changes.

12 years agoSet binary mode on the forwarded stream in ProtocolTestCase as used by filters
Martin Packman [Wed, 4 Jan 2012 10:25:24 +0000 (10:25 +0000)]
Set binary mode on the forwarded stream in ProtocolTestCase as used by filters

12 years agoMake version guessing more reliable (mgz)
Jonathan Lange [Thu, 8 Dec 2011 12:41:20 +0000 (12:41 +0000)]
Make version guessing more reliable (mgz)

12 years agoMerge support for newer location of {Extended,Python26,Python27}TestResult in testtools.
Jelmer Vernooij [Mon, 7 Nov 2011 10:50:05 +0000 (11:50 +0100)]
Merge support for newer location of {Extended,Python26,Python27}TestResult in testtools.

12 years agoOutput timing information from subunit.run
Jonathan Lange [Tue, 1 Nov 2011 16:41:31 +0000 (12:41 -0400)]
Output timing information from subunit.run

12 years agoCopyright update.
Jonathan Lange [Tue, 1 Nov 2011 16:40:48 +0000 (12:40 -0400)]
Copyright update.

12 years agoHave the output of subunit.run include timing information.
James Westby [Tue, 1 Nov 2011 15:59:58 +0000 (11:59 -0400)]
Have the output of subunit.run include timing information.

12 years agoMerge trunk work that had gotten diverged.
Robert Collins [Mon, 31 Oct 2011 07:56:59 +0000 (20:56 +1300)]
Merge trunk work that had gotten diverged.

12 years agoNewer versions of testtools have {Python26,Python27,Extended}TestResult in testtools...
Jelmer Vernooij [Thu, 13 Oct 2011 00:16:57 +0000 (02:16 +0200)]
Newer versions of testtools have {Python26,Python27,Extended}TestResult in testtools.testresult.doubles.

12 years agoMerge branch fixing perl output
Jonathan Lange [Thu, 6 Oct 2011 11:18:46 +0000 (12:18 +0100)]
Merge branch fixing perl output

12 years agoMerge Stewart Smith's branch to add timestamps to shell functions.
Jonathan Lange [Thu, 6 Oct 2011 11:15:49 +0000 (12:15 +0100)]
Merge Stewart Smith's branch to add timestamps to shell functions.

12 years agofix Subunit.pm for outputting 'failure' instead of 'fail' to conform with the protoco...
Stewart Smith [Thu, 6 Oct 2011 09:53:45 +0000 (20:53 +1100)]
fix Subunit.pm for outputting 'failure' instead of 'fail' to conform with the protocol spec in subunit README and what subunit2junitxml expects

12 years agoCorrect spelling (mgz)
Jonathan Lange [Mon, 8 Aug 2011 11:44:41 +0000 (12:44 +0100)]
Correct spelling (mgz)

12 years agoMake version detection in setup.py slightly more robust
Martin [Sun, 7 Aug 2011 17:10:03 +0000 (18:10 +0100)]
Make version detection in setup.py slightly more robust

12 years agoCouple of spelling corrections to python subunit module docstring
Martin [Sun, 7 Aug 2011 16:29:59 +0000 (17:29 +0100)]
Couple of spelling corrections to python subunit module docstring

12 years agoFix Python 3 syntax error.
Jonathan Lange [Tue, 26 Jul 2011 21:58:00 +0000 (22:58 +0100)]
Fix Python 3 syntax error.

12 years agoAdd "subunit-filter -F" to set all the flags that remove things that isn't a "failure"
Jonathan Lange [Mon, 4 Jul 2011 17:54:46 +0000 (18:54 +0100)]
Add "subunit-filter -F" to set all the flags that remove things that isn't a "failure"

12 years agoTurn the -F handler into a callback that adds args.
John Arbash Meinel [Thu, 30 Jun 2011 11:58:30 +0000 (13:58 +0200)]
Turn the -F handler into a callback that adds args.

By using 'insert', it means the options can then be overridden later.
So doing subunit-filter -F --xfail will put the xfails in the stream,
and you can do 'subunit-filter -F --passthrough' if you want the
passthrough data back.

12 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.

12 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

12 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.

12 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.

12 years agoin subunit.sh add Z to end of time to indicate UTC
Stewart Smith [Thu, 16 Jun 2011 07:47:53 +0000 (17:47 +1000)]
in subunit.sh add Z to end of time to indicate UTC

12 years agomake subunit shell functions output time at each point. Also tested that it works...
Stewart Smith [Sun, 12 Jun 2011 11:21:20 +0000 (21:21 +1000)]
make subunit shell functions output time at each point. Also tested that it works with subunit2junit.

12 years agoRelease 0.0.7.
Robert Collins [Sun, 12 Jun 2011 05:33:01 +0000 (17:33 +1200)]
Release 0.0.7.

12 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)

12 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)

12 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.

12 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.

12 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.

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

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

12 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.

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

12 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.

12 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)

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

12 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

12 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

12 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

12 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.

12 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

12 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.

12 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.

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

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

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

12 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.

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

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

12 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.

12 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.

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