Jonathan Lange [Fri, 20 Apr 2012 11:41:18 +0000 (12:41 +0100)]
Re-use more common code.
Jonathan Lange [Fri, 20 Apr 2012 11:36:48 +0000 (12:36 +0100)]
Make the integration test include local tags as well.
Jonathan Lange [Fri, 20 Apr 2012 11:34:31 +0000 (12:34 +0100)]
Merge updates from tag-collapsing-rigor.
Jonathan Lange [Fri, 20 Apr 2012 11:32:41 +0000 (12:32 +0100)]
Flush global tags too.
Jonathan Lange [Fri, 20 Apr 2012 11:16:26 +0000 (12:16 +0100)]
Factor subunit-filter some more.
Jonathan Lange [Fri, 20 Apr 2012 10:59:50 +0000 (11:59 +0100)]
Merge tag collapsing thing.
Jonathan Lange [Fri, 20 Apr 2012 10:11:43 +0000 (11:11 +0100)]
Collapse tags outside of tests too.
Jonathan Lange [Fri, 20 Apr 2012 10:00:14 +0000 (11:00 +0100)]
Make sure tags directives are sent before addSuccess etc.
Jonathan Lange [Fri, 20 Apr 2012 09:57:47 +0000 (10:57 +0100)]
Properly scope tag collapsing
Jonathan Lange [Fri, 20 Apr 2012 09:54:17 +0000 (10:54 +0100)]
Make sure tags are sent before result.
Jonathan Lange [Thu, 19 Apr 2012 18:13:36 +0000 (19:13 +0100)]
don't rely on current_tags, implement it ourselves.
Jonathan Lange [Thu, 19 Apr 2012 12:57:29 +0000 (13:57 +0100)]
Comments.
Jonathan Lange [Thu, 12 Apr 2012 23:12:32 +0000 (00:12 +0100)]
Progress, of a sort.
Jonathan Lange [Tue, 10 Apr 2012 15:10:34 +0000 (16:10 +0100)]
Add tests that exercise the subunit-filter filter.
Jonathan Lange [Tue, 10 Apr 2012 13:54:40 +0000 (14:54 +0100)]
Extract a helper.p
Jonathan Lange [Tue, 10 Apr 2012 13:41:45 +0000 (14:41 +0100)]
Composition is better than inheritance.
Jonathan Lange [Tue, 10 Apr 2012 13:39:10 +0000 (14:39 +0100)]
Make sure all of our predicates support tags.
Jonathan Lange [Tue, 10 Apr 2012 13:26:44 +0000 (14:26 +0100)]
Allow the predicate to filter tags.
Jonathan Lange [Tue, 10 Apr 2012 13:12:20 +0000 (14:12 +0100)]
A layer of abstraction that can help us.
Jonathan Lange [Tue, 10 Apr 2012 13:12:14 +0000 (14:12 +0100)]
Flakes
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.
Jonathan Lange [Tue, 10 Apr 2012 12:56:05 +0000 (13:56 +0100)]
Extract out a filter base class that just deals with predicates.
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
Jonathan Lange [Tue, 27 Mar 2012 11:17:37 +0000 (12:17 +0100)]
Factor out subunit-notify
Jonathan Lange [Tue, 27 Mar 2012 11:13:32 +0000 (12:13 +0100)]
Add a post-run hook.
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.
Jonathan Lange [Tue, 27 Mar 2012 10:58:18 +0000 (11:58 +0100)]
Not XML
Jonathan Lange [Tue, 27 Mar 2012 10:57:51 +0000 (11:57 +0100)]
Rename main() and give it a docstring.
Jonathan Lange [Tue, 27 Mar 2012 10:52:50 +0000 (11:52 +0100)]
Factor out JUnitXML
Jonathan Lange [Tue, 27 Mar 2012 10:48:22 +0000 (11:48 +0100)]
Docstrings and renaming.
Jonathan Lange [Tue, 27 Mar 2012 10:32:03 +0000 (11:32 +0100)]
More fiddling about.
Jonathan Lange [Tue, 27 Mar 2012 10:24:48 +0000 (11:24 +0100)]
More tweaking of boundaries.
Jonathan Lange [Tue, 27 Mar 2012 10:19:19 +0000 (11:19 +0100)]
Try to factor out the filter code.
Jonathan Lange [Sun, 25 Mar 2012 14:58:44 +0000 (15:58 +0100)]
Rename csv_result to CsvResult.
Jonathan Lange [Sun, 25 Mar 2012 14:57:45 +0000 (15:57 +0100)]
Don't write anything until startTestRun is called.
Jonathan Lange [Sun, 25 Mar 2012 14:54:00 +0000 (15:54 +0100)]
Tighter testing.
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
Jonathan Lange [Sun, 25 Mar 2012 14:48:46 +0000 (15:48 +0100)]
Test for csv output.
Jonathan Lange [Sun, 25 Mar 2012 14:42:36 +0000 (15:42 +0100)]
Resolve XXX about testtools support for tags.
Jonathan Lange [Sun, 25 Mar 2012 14:38:54 +0000 (15:38 +0100)]
Merge trunk.
Jonathan Lange [Sun, 25 Mar 2012 14:38:18 +0000 (15:38 +0100)]
Update to behave correctly with tags.
Jonathan Lange [Mon, 12 Mar 2012 11:43:39 +0000 (11:43 +0000)]
Use public testtools API for getting exception strings.
Jonathan Lange [Thu, 16 Feb 2012 10:18:09 +0000 (10:18 +0000)]
Clean up a flake
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
Jonathan Lange [Thu, 16 Feb 2012 09:35:51 +0000 (09:35 +0000)]
Merge trunk
Jonathan Lange [Fri, 10 Feb 2012 11:26:44 +0000 (11:26 +0000)]
et binary mode on the stream for forwarding subunit output (mgz)
Jonathan Lange [Thu, 9 Feb 2012 19:01:04 +0000 (19:01 +0000)]
Code that works for 0.9.11 and against testtools trunk
Jonathan Lange [Thu, 9 Feb 2012 18:40:15 +0000 (18:40 +0000)]
Don't make so many assumptions about how testtools formats details.
Jonathan Lange [Thu, 9 Feb 2012 18:04:37 +0000 (18:04 +0000)]
Fix to call the public API in testtools.
Jonathan Lange [Fri, 3 Feb 2012 09:19:07 +0000 (09:19 +0000)]
Todos
Jonathan Lange [Thu, 2 Feb 2012 10:58:39 +0000 (10:58 +0000)]
Factor out the assertions.
Jonathan Lange [Wed, 1 Feb 2012 19:20:05 +0000 (19:20 +0000)]
Swathe of tests.
Jonathan Lange [Wed, 1 Feb 2012 18:46:25 +0000 (18:46 +0000)]
Merge trunk
Jonathan Lange [Wed, 1 Feb 2012 18:38:26 +0000 (18:38 +0000)]
Deal with testtools moving doubles out of helpers.
Jonathan Lange [Wed, 1 Feb 2012 18:35:06 +0000 (18:35 +0000)]
Flakes
Jonathan Lange [Tue, 31 Jan 2012 19:49:33 +0000 (19:49 +0000)]
Add a CSV filter.
Jonathan Lange [Tue, 31 Jan 2012 19:49:23 +0000 (19:49 +0000)]
Flakes
Robert Collins [Thu, 26 Jan 2012 03:07:09 +0000 (16:07 +1300)]
Fix shell tests to handle timestamps (Paired with Stewart).
Robert Collins [Wed, 11 Jan 2012 05:42:53 +0000 (18:42 +1300)]
Tag support has been implemented for TestProtocolClient.
(Robert Collins, #518016)
Robert Collins [Wed, 11 Jan 2012 05:32:22 +0000 (18:32 +1300)]
Handle latest testtools changes.
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
Jonathan Lange [Thu, 8 Dec 2011 12:41:20 +0000 (12:41 +0000)]
Make version guessing more reliable (mgz)
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.
Jonathan Lange [Tue, 1 Nov 2011 16:41:31 +0000 (12:41 -0400)]
Output timing information from subunit.run
Jonathan Lange [Tue, 1 Nov 2011 16:40:48 +0000 (12:40 -0400)]
Copyright update.
James Westby [Tue, 1 Nov 2011 15:59:58 +0000 (11:59 -0400)]
Have the output of subunit.run include timing information.
Robert Collins [Mon, 31 Oct 2011 07:56:59 +0000 (20:56 +1300)]
Merge trunk work that had gotten diverged.
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.
Jonathan Lange [Thu, 6 Oct 2011 11:18:46 +0000 (12:18 +0100)]
Merge branch fixing perl output
Jonathan Lange [Thu, 6 Oct 2011 11:15:49 +0000 (12:15 +0100)]
Merge Stewart Smith's branch to add timestamps to shell functions.
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
Jonathan Lange [Mon, 8 Aug 2011 11:44:41 +0000 (12:44 +0100)]
Correct spelling (mgz)
Martin [Sun, 7 Aug 2011 17:10:03 +0000 (18:10 +0100)]
Make version detection in setup.py slightly more robust
Martin [Sun, 7 Aug 2011 16:29:59 +0000 (17:29 +0100)]
Couple of spelling corrections to python subunit module docstring
Jonathan Lange [Tue, 26 Jul 2011 21:58:00 +0000 (22:58 +0100)]
Fix Python 3 syntax error.
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"
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.
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.
John Arbash Meinel [Thu, 30 Jun 2011 11:19:03 +0000 (13:19 +0200)]
Remove -F since it seemed controversial
John Arbash Meinel [Thu, 30 Jun 2011 11:16:55 +0000 (13:16 +0200)]
Merge trunk tip, resolve NEWS.
John Arbash Meinel [Thu, 30 Jun 2011 10:59:08 +0000 (12:59 +0200)]
Merge trunk r142 and resolve conflicts.
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
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.
Robert Collins [Sun, 12 Jun 2011 05:33:01 +0000 (17:33 +1200)]
Release 0.0.7.
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)
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)
Robert Collins [Fri, 20 May 2011 20:08:11 +0000 (08:08 +1200)]
Unbreak subunit-filter with no fixup option given.
Jelmer Vernooij [Tue, 10 May 2011 07:36:17 +0000 (09:36 +0200)]
Fix handling of addSkip in TestResultFilter.
Jelmer Vernooij [Mon, 9 May 2011 21:00:42 +0000 (23:00 +0200)]
Add test to make sure addSkip is preserved.
Jelmer Vernooij [Mon, 9 May 2011 17:47:24 +0000 (19:47 +0200)]
Fix argument in TestResultFilter.addSkip.
Robert Collins [Sun, 1 May 2011 23:17:36 +0000 (11:17 +1200)]
Fix thinko in addSuccess refactoring.
Robert Collins [Sun, 1 May 2011 23:06:27 +0000 (11:06 +1200)]
Support testsRun on the tag and time collapsing decorators.
Robert Collins [Sun, 1 May 2011 22:45:27 +0000 (10:45 +1200)]
Support unexpected success outcomes.
Robert Collins [Sun, 1 May 2011 22:36:15 +0000 (10:36 +1200)]
Martins fix for failures on windows.
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)
Robert Collins [Wed, 27 Apr 2011 04:58:50 +0000 (16:58 +1200)]
Merge python 3K changes.
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
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
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
Jelmer Vernooij [Tue, 26 Apr 2011 10:14:52 +0000 (12:14 +0200)]
Merge addition of --fixup-expected-failures argument to filter-subunit.