summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix a ResourceWarning warningsHEADtrunkVictor Stinner2016-12-071-7/+9
| | | | Use context managers to ensure that file are always closed.
* Remove python 3.2 testing from travis.yml (#28)Matthew Treinish2016-11-291-1/+0
| | | | This commit removes the python 3.2 testing job from the travis.yml.
* Fixup quickstart and Makefile for README.rst.Robert Collins2015-07-172-2/+5
| | | | I forgot to update these when I added the travis badge.
* Use the newfangled test discovery feature.Robert Collins2015-07-167-89/+9
| | | | I've checked that this generates the same number of tests.
* testrepository/setuptools_command.py: Add loggingMarc Abramowitz2015-07-131-0/+12
| | | | to aid in debugging and testing.
* Fixup NEWS.Robert Collins2015-07-131-1/+4
|
* Add coverage package nameMarc Abramowitz2015-07-131-0/+6
| | | | | | | Allow to specify a different package name than the one from the setp.cfg project. Fixes https://bugs.launchpad.net/testrepository/+bug/1298398
* Closes #1409936: Wrong exception on read errors.Robert Collins2015-07-133-0/+12
| | | | Patch from Matthew Treinish, adapted by me.
* Fix 3.3+ tests with nested classnames.Robert Collins2015-07-121-1/+1
|
* Migrate to pbr for build managementMonty Taylor2015-07-1212-134/+85
| | | | Reduce manual maintenance by using pbr.
* Setup travis.Robert Collins2015-07-121-0/+26
|
* Fix formatting in packages section of setpy.py.Jonathan C. Otsuka2015-03-101-1/+2
|
* Fixup tests with latest testtools.Robert Collins2015-03-102-4/+16
| | | | | | Testtools has started chunking exceptions (which is perhaps good, perhaps bad) - but we shouldn't depend on the exact behaviour in it for our tests.
* Release 0.0.20.Robert Collins2014-08-272-2/+5
|
* Tests will be reliably tagged with worker-%d.Robert Collins2014-08-252-3/+13
| | | | | | | | | The previous tagging logic had an implicit race - the tag id was looked up via a closure which gets the state of the pos variable at the position the overall loop has advanced too, not the position when the closure was created. Closes-Bug: #1316858
* Release 0.0.190.0.19Robert Collins2014-08-252-1/+4
|
* Fix 0 timestamps for enumerated but not run tests.Robert Collins2014-08-254-7/+34
| | | | | | | | | Tests that are enumerated but not executed will no longer reset the test timing data. Enumeration was incorrectly recording a 0 timestamp for enumerated tests. This leads to poor scheduling after an interrupted test run. Closes-Bug: #1322763
* Update docs for the move to github.Robert Collins2014-08-241-0/+1
|
* Make subunit 0.0.18 be a hard dependency.Robert Collins2014-08-243-2/+7
| | | | | | The v2 protocol solves key issues in concurrency and stream handling. Users that cannot use subunit v2 can run an older testrepository, or contact upstream to work through whatever issue is blocking them.
* Move to subunit v2 for output of stored streams.Robert Collins2014-08-246-27/+173
| | | | | | Passing --subunit to all testr commands will now consistently output subunit v2. Previously it would output v1 for stored streams and v2 for live streams.
* Make sure output_stream can handle non-utf8 bytesRobert Collins2014-08-245-16/+44
| | | | This is needed to safely output raw subunit v2 streams.
* Ignore .swp files.Robert Collins2014-08-221-0/+1
|
* Added *.pyc to gitignoreAlexei Kornienko2014-08-161-0/+1
|
* Fix python3 filtering support.Clark Boylan2014-05-193-1/+15
| | | | | * Test filtering was failing under python3 and would only apply the filters to the first test listed by discover. (Clark Boylan, #1317607)
* Ignore files in git.Robert Collins2014-03-111-0/+6
|
* Improve error rendering of listing issues.Robert Collins2014-03-032-4/+6
| | | | | Errors are now shown as a stream to the user, and the exception just contains the process exit code.
* * When list-tests encounters an error, a much clearer response willRobert Collins2014-02-113-2/+40
| | | | now be shown. (Robert Collins, #1271133)
* * ``run`` was outputting bad MIME types - test/plain, not text/plain.Robert Collins2014-02-113-2/+8
| | | | (Robert Collins)
* Release 0.0.18.0.0.18Robert Collins2013-11-062-1/+4
|
* * ``run`` now accepts ``--isolated`` as a parameter, which will cause eachRobert Collins2013-11-044-2/+73
| | | | | | selected test to be run independently. This can be useful to both workaround isolation bugs and detect tests that can not be run independently. (Robert Collins)
* * ``capture_ids`` in test_run now returns a list of captures, permitting testsRobert Collins2013-11-042-14/+21
| | | | that need to test multiple runs to do so. (Robert Collins)
* 0.0.170.0.17Robert Collins2013-07-173-2/+13
| | | | | | | ++++++ * Restore the ability to import testrepository.repository.memory on Python 2.6. (Robert Collins)
* Release 0.0.16.0.0.16Robert Collins2013-07-172-1/+4
|
* * When test listing fails, testr will now report an error rather thanRobert Collins2013-07-174-3/+21
| | | | | incorrectly trying to run zero tests. A test listing failure is detected by the returncode of the test listing process. (Robert Collins, #1185231)
* * A new testr.conf option ``group_regex`` can be used for groupingRobert Collins2013-07-164-2/+48
|\ | | | | | | tests so that they get run in the same backend runner. (Matthew Treinish)
| * Add group_regex option to .testr.conf to leverage use of group_regexMatthew Treinish2013-07-094-3/+51
| | | | | | | | for scheduling.
* | * The scheduler can now groups tests together permitting co-dependent tests toRobert Collins2013-07-164-14/+99
|\ \ | |/ | | | | | | | | always be scheduled onto the same backend. Note that this does not force co-dependent tests to be executed, so partial test runs (e.g. --failing) may still fail. (Matthew Treinish, Robert Collins)
| * Add group regex scheduling hint to the test partitionerMatthew Treinish2013-07-083-13/+110
| | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new optional parameter, group_regex, to TestListingFixture. The parameter group_regex is used to group the test_ids. By passing a regex string with the parameter the test partitioner will match the regex to the test ids and then group by the result. In the case a test id does not match the regex it will be put in a default group. These groups are then used for scheduling the partitions. Each test groups is scheduled together so that all tests in a group are run together on the same partition. For the purposes of scheduling the groups the sum of all test ids in a group is used to schedule the whole group in a partition.
* | Make an assertion format check more lenient, for Python 3.3.Robert Collins2013-07-131-1/+1
| |
* | Fix an erroneous unicode to bytes comparison.Robert Collins2013-07-132-2/+3
| |
* | Make failure order stable from memory repository for testing.Robert Collins2013-07-131-2/+3
| |
* | Deal with Python 3 rejecting comparisons between None and None.Robert Collins2013-07-131-1/+1
| |
* | * Fix Python 3.* support for entrypoints; the initial code was Python3Robert Collins2013-07-102-1/+4
| | | | | | | | incompatible. (Robert Collins, Clark Boylan, #1187192)
* | Remove unneeded test setup.Robert Collins2013-05-191-1/+0
| |
* | Teach load how to cause a failure in response to stdin.Robert Collins2013-04-202-1/+47
|/
* * Switch to using multiprocessing to determine CPU counts.Robert Collins2013-04-193-12/+13
|\ | | | | | | (Chris Jones, #1092276)
| * Document the change of CPU core detectionChris Jones2013-04-161-4/+4
| |
| * Switch to multiprocessing for detecting CPU core count. This is present as ↵Chris Jones2013-04-161-8/+6
| | | | | | | | of Python 2.6
* | Only return streams from CLI._iter_stream if the type matches the first type ↵Robert Collins2013-04-144-1/+32
| | | | | | | | the command declared.
* | Simplify load a little.Robert Collins2013-04-131-5/+4
|/