summaryrefslogtreecommitdiff
path: root/testrepository/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #42 from jelmer/v2-onlyJelmer Vernooij2018-11-284-158/+92
|\ | | | | Remove compatibility code for pre-0.0.11 versions of subunit.
| * Drop support for pre-0.0.11 versions of subunit.v2-onlyJelmer Vernooij2018-08-264-158/+92
| |
* | Add --force-init support to 'testr run'.Jelmer Vernooij2018-06-151-1/+25
|/
* Switch order of arguments for tuple comparison.Jelmer Vernooij2018-04-131-2/+2
|
* Fix the testrepository tests with newer versions of testtools.Jelmer Vernooij2018-04-052-4/+5
|
* Use the newfangled test discovery feature.Robert Collins2015-07-166-88/+8
| | | | I've checked that this generates the same number of tests.
* Closes #1409936: Wrong exception on read errors.Robert Collins2015-07-131-0/+8
| | | | 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-121-3/+3
| | | | 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.
* Fix 0 timestamps for enumerated but not run tests.Robert Collins2014-08-251-5/+27
| | | | | | | | | 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-243-18/+139
| | | | | | 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-243-14/+31
| | | | This is needed to safely output raw subunit v2 streams.
* Fix python3 filtering support.Clark Boylan2014-05-191-0/+11
| | | | | * Test filtering was failing under python3 and would only apply the filters to the first test listed by discover. (Clark Boylan, #1317607)
* * ``run`` was outputting bad MIME types - test/plain, not text/plain.Robert Collins2014-02-111-1/+1
| | | | (Robert Collins)
* * ``run`` now accepts ``--isolated`` as a parameter, which will cause eachRobert Collins2013-11-041-0/+29
| | | | | | 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)
* * When test listing fails, testr will now report an error rather thanRobert Collins2013-07-171-0/+9
| | | | | 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-161-0/+10
|\ | | | | | | 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-091-0/+9
| | | | | | | | for scheduling.
* | * The scheduler can now groups tests together permitting co-dependent tests toRobert Collins2013-07-161-0/+40
|\ \ | |/ | | | | | | | | 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-081-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | 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-131-1/+2
| |
* | Remove unneeded test setup.Robert Collins2013-05-191-1/+0
| |
* | Teach load how to cause a failure in response to stdin.Robert Collins2013-04-201-0/+13
|/
* Only return streams from CLI._iter_stream if the type matches the first type ↵Robert Collins2013-04-141-0/+15
| | | | the command declared.
* Consolidate on the StreamResult API for make_results' return values.Robert Collins2013-04-114-24/+13
|
* Cleanup crufty imports.Robert Collins2013-04-101-11/+2
|
* Drop unused class TestResultFilter.Robert Collins2013-04-101-55/+0
|
* Drop the ExtendedToStream wrapping around UI.make_result.Robert Collins2013-04-101-1/+1
|
* Move tag based test filtering into the UI: many test things won't be ↵Robert Collins2013-04-106-92/+38
| | | | 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.
* Add test for --subunit support - the UI was previously only loosely tested.Robert Collins2013-04-081-2/+14
|
* Change get_test() APIs to return StreamResult rather than TestResult ↵Robert Collins2013-04-013-22/+27
| | | | emitting test objects.
* Migrate to new streamresult concurrent test suite API.Robert Collins2013-03-221-14/+0
|
* Split out event forwarding and summarising roles for make_result.Robert Collins2013-03-162-8/+10
|
* Move internal get_inserter to be StreamResult based.Robert Collins2013-03-168-144/+112
|
* Cleanup the switch to using inserter state.Robert Collins2013-03-151-0/+1
|
* Fix test_cli for python 2.xRobert Collins2013-03-151-1/+1
|
* Start getting streamresult into the innards.Robert Collins2013-03-153-60/+38
|
* * Expects subunit v2 if the local library has v2 support in the subunitRobert Collins2013-03-105-31/+181
| | | | | | | library. This should be seamless if the system under test shares the Python libraries. If it doesn't, either arrange to use ``subunit-2to1`` or upgrade the subunit libraries for the system under test. (Robert Collins)
* 0.0.14Robert Collins2013-02-0816-140/+156
| | | | | | | | | | ++++++ IMPROVEMENTS ------------ * First cut at full Python 3 support. The 'works for me' release. (Robert Collins)
* Refactor, making the test run case also spin up in advance.Robert Collins2012-12-201-0/+2
|
* Support creating test execution environments at runtime.Robert Collins2012-12-201-1/+44
|
* Implement test listing and execution with test execution instances.Robert Collins2012-12-191-1/+90
|
* Revert out a test tweak, and add test for behaviour without per-instance ↵Robert Collins2012-12-191-2/+15
| | | | execution logic.
* Actually implement instance disposal.Robert Collins2012-12-191-1/+38
|
* Enforce setUp before get_run_command.Robert Collins2012-12-191-1/+1
|
* * TestCommand is now a fixture. This is used to ensure cached test instancesRobert Collins2012-12-191-0/+5
| | | | | are disposed of - if using the object to run or list tests, you will need to adjust your calls. (Robert Collins)
* * It's now possible to configure ``test_run_concurrency`` in ``.testr.conf``Robert Collins2012-12-191-4/+38
| | | | to have concurrency defined by a callout. (Robert Collins)