summaryrefslogtreecommitdiff
path: root/testrepository
Commit message (Collapse)AuthorAgeFilesLines
* Fix a ResourceWarning warningsHEADtrunkVictor Stinner2016-12-071-7/+9
| | | | Use context managers to ensure that file are always closed.
* Fixup quickstart and Makefile for README.rst.Robert Collins2015-07-171-0/+3
| | | | I forgot to update these when I added the travis badge.
* Use the newfangled test discovery feature.Robert Collins2015-07-166-88/+8
| | | | 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.
* 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-132-0/+9
| | | | 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-123-15/+14
| | | | Reduce manual maintenance by using pbr.
* Fixup tests with latest testtools.Robert Collins2015-03-101-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 Collins2014-08-271-1/+1
|
* Tests will be reliably tagged with worker-%d.Robert Collins2014-08-251-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.19Robert Collins2014-08-251-1/+1
|
* Fix 0 timestamps for enumerated but not run tests.Robert Collins2014-08-253-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 Collins2014-08-245-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 bytesRobert Collins2014-08-244-16/+38
| | | | This is needed to safely output raw subunit v2 streams.
* Fix python3 filtering support.Clark Boylan2014-05-192-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 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-112-2/+37
| | | | now be shown. (Robert Collins, #1271133)
* * ``run`` was outputting bad MIME types - test/plain, not text/plain.Robert Collins2014-02-112-2/+2
| | | | (Robert Collins)
* Release 0.0.18.0.0.18Robert Collins2013-11-061-1/+1
|
* * ``run`` now accepts ``--isolated`` as a parameter, which will cause eachRobert Collins2013-11-042-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 testsRobert Collins2013-11-041-14/+15
| | | | that need to test multiple runs to do so. (Robert Collins)
* 0.0.170.0.17Robert Collins2013-07-172-2/+4
| | | | | | | ++++++ * Restore the ability to import testrepository.repository.memory on Python 2.6. (Robert Collins)
* Release 0.0.16.0.0.16Robert Collins2013-07-171-1/+1
|
* * When test listing fails, testr will now report an error rather thanRobert Collins2013-07-172-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 groupingRobert Collins2013-07-162-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_regexMatthew Treinish2013-07-092-3/+24
| | | | | | | | for scheduling.
* | * The scheduler can now groups tests together permitting co-dependent tests toRobert Collins2013-07-162-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 partitionerMatthew Treinish2013-07-082-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 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-101-1/+1
| | | | | | | | 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-191-8/+6
|\ | | | | | | (Chris Jones, #1092276)
| * 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-143-1/+24
| | | | | | | | the command declared.
* | Simplify load a little.Robert Collins2013-04-131-5/+4
|/
* Consolidate on the StreamResult API for make_results' return values.Robert Collins2013-04-117-100/+52
|
* Missing (C) header.Robert Collins2013-04-101-0/+14
|
* Cleanup crufty imports.Robert Collins2013-04-101-11/+2
|
* Drop unused class TestResultFilter.Robert Collins2013-04-105-100/+0
|
* Drop the ExtendedToStream wrapping around UI.make_result.Robert Collins2013-04-103-10/+9
|
* Move tag based test filtering into the UI: many test things won't be ↵Robert Collins2013-04-1010-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 Collins2013-04-092-15/+6
|
* Release 0.0.15, with minimal subunit v2 support.0.0.15Robert Collins2013-04-081-1/+1
|
* Fix subunit v1 parallel test execution.Robert Collins2013-04-081-3/+9
|
* Add test for --subunit support - the UI was previously only loosely tested.Robert Collins2013-04-082-4/+23
|