Commit Graph

651 Commits

Author SHA1 Message Date
Claudiu Belu 7149380ff9 Fallback to reading one-byte-at-a-time on Windows (#22)
select.select does not work on file descriptors on Windows, causing subunit to fail.
2017-03-02 17:29:52 +01:00
Matthew Treinish d85976aa08 Remove test envs that no longer work from travis.yml (#23)
This commit removes the python 3.2 and pypy 3.2 test envs from
the travis ci config. These no longer have support for pypi and pip
so there is no reason we should be trying to run them anymore.

The pypy3 version has been bumped to 3.3.
2017-03-01 16:46:43 +01:00
Jonathan Lange 0de456d6e8 Merge pull request #20 from jeffrey4l/fix_typo
Fix typo in subunit-filter
2016-07-10 12:07:51 +01:00
Jeffrey Zhang fbc66ef212 Fix typo in subunit-filter 2016-07-06 21:23:55 +08:00
Robert Collins 126c803e36 Actually ship subunit2disk. 2015-11-05 09:21:30 +13:00
Robert Collins 2a4d9f6131 Release 1.2. 2015-10-23 12:24:53 +13:00
Robert Collins cd666583b3 Typo fixes from Leo Arias 2015-10-23 12:16:03 +13:00
Victor Stinner bbf534d90c Fix StreamResultToBytes._write_packet()
Call write() in a loop until all bytes are written. The write()
method doesn't ensure that all bytes are written.

This change should workaround the eventlet bug:
https://github.com/eventlet/eventlet/issues/248
2015-10-20 09:20:29 +02:00
Robert Collins 22ef32a2cd Skip hypothesis tests on 3.2
(It's not 3.2 compatible at the moment).
2015-10-20 15:11:05 +13:00
Robert Collins 45bd8ebb6b Fix broken v1 example in README.rst 2015-09-21 15:13:41 +12:00
Robert Collins cacd5f6bc6 Handle very short packets
Yay quickcheck.
2015-08-04 15:38:46 +12:00
Robert Collins a194e3e7cb Add subunit2disk which exports a stream to the fs. 2015-07-13 23:02:48 +12:00
Robert Collins 557bbf694f Handle pypy, Python 3.4 and 3.5 in tests. 2015-07-13 17:55:22 +12:00
Robert Collins 13899a42e0 Add .travis.yml 2015-07-13 17:55:22 +12:00
Robert Collins 766bd13461 Rename README to README.rst for github rendering 2015-07-13 12:09:31 +12:00
Robert Collins 93e962b2b4 Support --locals in tracebacks and release 1.1.0 2015-03-10 14:03:25 +13:00
Robert Collins b0c7d55352 Forward stdout content in subunit-2to1.
It was always intended to be forwarded.

Closes-Bug: #1400519
2014-12-11 22:16:43 +13:00
Jelmer Vernooij a0f4925f4c Remove support for SUBUNIT_FORMATTER, which has been broken for a long time. 2014-12-11 09:56:12 +13:00
Jelmer Vernooij a7ea9e11a2 Remove unused import. 2014-12-02 23:46:54 +00:00
Robert Collins cc8b57e062 Release 1.0.0. 2014-11-19 10:50:46 +13:00
Robert Collins a129fa2ff6 Improve showing of import errors in the Python runner.
This depends on testtools 1.4.0 to get the improved behaviour.
2014-11-18 21:57:57 +13:00
Robert Collins 7c203ff76e Fix tests with testtools 1.2.0 and above.
Import errors don't break execution or listing now in testtools, so to
test execution breaking we have to be a little bit more direct.
2014-11-18 21:40:38 +13:00
Jelmer Vernooij 52dad0f4f5 Make subunit-output executable. 2014-11-02 08:53:52 -08:00
Robert Collins 8109ff5a13 Update python tarball rules for git. 2014-09-01 07:24:27 +12:00
Robert Collins 1ce1194796 Translate bzr ignores into git ignores. 2014-09-01 07:19:07 +12:00
Robert Collins 7ca6952f1d 0.0.21
------

BUGFIXES
~~~~~~~~

* Brown bag bugfix - 0.0.20's setup.py referenced cvs not csv.
  (Robert Collins, #1361924)
2014-08-27 13:34:27 +12:00
Robert Collins 0188053444 Release 0.0.20
Also

* The python-subunit tarball can now have setup run from the current
  directory. (Robert Collins, #1361857)
2014-08-27 12:43:14 +12:00
Robert Collins 57132315d9 * subunit2csv is now installed when using pip.
(Robert Collins, #1279669)
2014-08-24 18:41:27 +12:00
Robert Collins a882324963 * testscenarios is now a test dependency, not an install dependency.
(Arfrever Frehtes Taifersar Arahesis, #1292757)
2014-08-24 18:22:36 +12:00
Robert Collins 50b2f7c2b6 Fixes for release process. 2014-08-24 18:00:49 +12:00
Robert Collins 63ea73bf3a 0.0.19
------

IMPROVEMENTS
~~~~~~~~~~~~

* ``subunit.run`` in Python will now exit 0 as long as the test stream has
  been generated correctly - this has always been the intent but API friction
  with testtools had prevented it working.
  (Robert Collins)
2014-08-24 17:54:36 +12:00
Robert Collins d068eedebb Ignore more things. 2014-08-24 16:07:54 +12:00
Robert Collins 384513d36b Release 0.0.18. 2014-01-30 08:14:50 +13:00
Robert Collins d9957de10d Fix support for testtools 0.6.35. 2014-01-30 08:13:48 +13:00
Robert Collins 438d40e7a4 Update Hacking notes. 2014-01-29 22:32:55 +13:00
Robert Collins d1140a1245 Release 0.0.17 2014-01-29 22:31:54 +13:00
Robert Collins 2c1e7f9d07 * Add ``subunit-output`` tool that can generate a Subunit v2 bytestream from
arguments passed on the command line. (Thomi Richards, #1252084)
2014-01-13 13:08:43 +13:00
Thomi Richards 153303b8e9 Import matcher used. 2014-01-13 11:14:30 +13:00
Thomi Richards 745e34df06 Fix failing test on py33. 2014-01-13 11:10:11 +13:00
Thomi Richards 727c9f25fa Fix failing test in python 3.2. 2013-12-16 09:02:35 +13:00
Thomi Richards da6c007652 Make tests work in py2 and py3. 2013-12-10 11:10:57 +13:00
Thomi Richards 4a4f7ffda0 Don't make tests convert to and from bytes. Instead, just use a StreamResult double. Update test code. 2013-12-10 09:52:07 +13:00
Thomi Richards db6c2795d8 Generate scenarios inside subunit.tests.test_suite, not by subclassing WithScenarios. 2013-12-09 17:58:22 +13:00
Thomi Richards 9ba9d9588e Add testscenario dependency to the INSTALL file. 2013-12-09 17:52:06 +13:00
Thomi Richards 48738830ab Don't need to patch stderr anymore in the tests. 2013-12-09 17:39:26 +13:00
Thomi Richards e34c192546 Allow the use of the --tag argument without specifying a test id. 2013-12-09 17:28:26 +13:00
Thomi Richards 27fd8d82b0 Use the 'append' action, instead of specifying tags as a comma-separated list of values. 2013-12-09 16:22:37 +13:00
Thomi Richards a0530ff5fc Fix typo. 2013-12-09 15:36:12 +13:00
Thomi Richards 0c3f2df1e2 Patch sys.stdin correctly for testing. 2013-12-02 19:12:14 +13:00
Thomi Richards 098addd40f Use make_stream_binary to turn stdin into a binary stream. 2013-12-02 19:01:18 +13:00