Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a ResourceWarning warningsHEADtrunk | Victor Stinner | 2016-12-07 | 1 | -7/+9 |
| | | | | Use context managers to ensure that file are always closed. | ||||
* | Fixup quickstart and Makefile for README.rst. | Robert Collins | 2015-07-17 | 1 | -0/+3 |
| | | | | I forgot to update these when I added the travis badge. | ||||
* | Use the newfangled test discovery feature. | Robert Collins | 2015-07-16 | 6 | -88/+8 |
| | | | | I've checked that this generates the same number of tests. | ||||
* | testrepository/setuptools_command.py: Add logging | Marc Abramowitz | 2015-07-13 | 1 | -0/+12 |
| | | | | to aid in debugging and testing. | ||||
* | Add coverage package name | Marc Abramowitz | 2015-07-13 | 1 | -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 Collins | 2015-07-13 | 2 | -0/+9 |
| | | | | Patch from Matthew Treinish, adapted by me. | ||||
* | Fix 3.3+ tests with nested classnames. | Robert Collins | 2015-07-12 | 1 | -1/+1 |
| | |||||
* | Migrate to pbr for build management | Monty Taylor | 2015-07-12 | 3 | -15/+14 |
| | | | | Reduce manual maintenance by using pbr. | ||||
* | Fixup tests with latest testtools. | Robert Collins | 2015-03-10 | 1 | -4/+10 |
| | | | | | | 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 Collins | 2014-08-27 | 1 | -1/+1 |
| | |||||
* | Tests will be reliably tagged with worker-%d. | Robert Collins | 2014-08-25 | 1 | -3/+4 |
| | | | | | | | | | 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.19 | Robert Collins | 2014-08-25 | 1 | -1/+1 |
| | |||||
* | Fix 0 timestamps for enumerated but not run tests. | Robert Collins | 2014-08-25 | 3 | -7/+29 |
| | | | | | | | | | 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 | ||||
* | Move to subunit v2 for output of stored streams. | Robert Collins | 2014-08-24 | 5 | -27/+165 |
| | | | | | | 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 bytes | Robert Collins | 2014-08-24 | 4 | -16/+38 |
| | | | | This is needed to safely output raw subunit v2 streams. | ||||
* | Fix python3 filtering support. | Clark Boylan | 2014-05-19 | 2 | -1/+12 |
| | | | | | * Test filtering was failing under python3 and would only apply the filters to the first test listed by discover. (Clark Boylan, #1317607) | ||||
* | Improve error rendering of listing issues. | Robert Collins | 2014-03-03 | 2 | -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 will | Robert Collins | 2014-02-11 | 2 | -2/+37 |
| | | | | now be shown. (Robert Collins, #1271133) | ||||
* | * ``run`` was outputting bad MIME types - test/plain, not text/plain. | Robert Collins | 2014-02-11 | 2 | -2/+2 |
| | | | | (Robert Collins) | ||||
* | Release 0.0.18.0.0.18 | Robert Collins | 2013-11-06 | 1 | -1/+1 |
| | |||||
* | * ``run`` now accepts ``--isolated`` as a parameter, which will cause each | Robert Collins | 2013-11-04 | 2 | -2/+50 |
| | | | | | | 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 tests | Robert Collins | 2013-11-04 | 1 | -14/+15 |
| | | | | that need to test multiple runs to do so. (Robert Collins) | ||||
* | 0.0.170.0.17 | Robert Collins | 2013-07-17 | 2 | -2/+4 |
| | | | | | | | ++++++ * Restore the ability to import testrepository.repository.memory on Python 2.6. (Robert Collins) | ||||
* | Release 0.0.16.0.0.16 | Robert Collins | 2013-07-17 | 1 | -1/+1 |
| | |||||
* | * When test listing fails, testr will now report an error rather than | Robert Collins | 2013-07-17 | 2 | -1/+13 |
| | | | | | 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 grouping | Robert Collins | 2013-07-16 | 2 | -2/+26 |
|\ | | | | | | | 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_regex | Matthew Treinish | 2013-07-09 | 2 | -3/+24 |
| | | | | | | | | for scheduling. | ||||
* | | * The scheduler can now groups tests together permitting co-dependent tests to | Robert Collins | 2013-07-16 | 2 | -14/+93 |
|\ \ | |/ | | | | | | | | | 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 partitioner | Matthew Treinish | 2013-07-08 | 2 | -13/+109 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 Collins | 2013-07-13 | 1 | -1/+1 |
| | | |||||
* | | Fix an erroneous unicode to bytes comparison. | Robert Collins | 2013-07-13 | 2 | -2/+3 |
| | | |||||
* | | Make failure order stable from memory repository for testing. | Robert Collins | 2013-07-13 | 1 | -2/+3 |
| | | |||||
* | | Deal with Python 3 rejecting comparisons between None and None. | Robert Collins | 2013-07-13 | 1 | -1/+1 |
| | | |||||
* | | * Fix Python 3.* support for entrypoints; the initial code was Python3 | Robert Collins | 2013-07-10 | 1 | -1/+1 |
| | | | | | | | | incompatible. (Robert Collins, Clark Boylan, #1187192) | ||||
* | | Remove unneeded test setup. | Robert Collins | 2013-05-19 | 1 | -1/+0 |
| | | |||||
* | | Teach load how to cause a failure in response to stdin. | Robert Collins | 2013-04-20 | 2 | -1/+47 |
|/ | |||||
* | * Switch to using multiprocessing to determine CPU counts. | Robert Collins | 2013-04-19 | 1 | -8/+6 |
|\ | | | | | | | (Chris Jones, #1092276) | ||||
| * | Switch to multiprocessing for detecting CPU core count. This is present as ↵ | Chris Jones | 2013-04-16 | 1 | -8/+6 |
| | | | | | | | | of Python 2.6 | ||||
* | | Only return streams from CLI._iter_stream if the type matches the first type ↵ | Robert Collins | 2013-04-14 | 3 | -1/+24 |
| | | | | | | | | the command declared. | ||||
* | | Simplify load a little. | Robert Collins | 2013-04-13 | 1 | -5/+4 |
|/ | |||||
* | Consolidate on the StreamResult API for make_results' return values. | Robert Collins | 2013-04-11 | 7 | -100/+52 |
| | |||||
* | Missing (C) header. | Robert Collins | 2013-04-10 | 1 | -0/+14 |
| | |||||
* | Cleanup crufty imports. | Robert Collins | 2013-04-10 | 1 | -11/+2 |
| | |||||
* | Drop unused class TestResultFilter. | Robert Collins | 2013-04-10 | 5 | -100/+0 |
| | |||||
* | Drop the ExtendedToStream wrapping around UI.make_result. | Robert Collins | 2013-04-10 | 3 | -10/+9 |
| | |||||
* | Move tag based test filtering into the UI: many test things won't be ↵ | Robert Collins | 2013-04-10 | 10 | -132/+78 |
| | | | | filtered, such as slow tests and pdb debugging, so the UI has to see the tests. Moving the responsibility into the UI may lead to repetition in other UI's if not made easy to reuse, but that seems like the lesser of evils for now. | ||||
* | Simplify commands.failing. | Robert Collins | 2013-04-09 | 2 | -15/+6 |
| | |||||
* | Release 0.0.15, with minimal subunit v2 support.0.0.15 | Robert Collins | 2013-04-08 | 1 | -1/+1 |
| | |||||
* | Fix subunit v1 parallel test execution. | Robert Collins | 2013-04-08 | 1 | -3/+9 |
| | |||||
* | Add test for --subunit support - the UI was previously only loosely tested. | Robert Collins | 2013-04-08 | 2 | -4/+23 |
| |