lp:~lifeless/testresources/bug-522338
Created by
Robert Collins
and last modified
- Get this branch:
- bzr branch lp:~lifeless/testresources/bug-522338
Only
Robert Collins
can upload to this branch. If you are
Robert Collins
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- testresources developers: Pending requested
-
Diff: 598 lines (+447/-34)5 files modifiedNEWS (+8/-0)
lib/testresources/__init__.py (+248/-28)
lib/testresources/tests/__init__.py (+2/-0)
lib/testresources/tests/test_optimising_test_suite.py (+48/-6)
lib/testresources/tests/test_resource_graph.py (+141/-0)
Branch information
Recent revisions
- 52. By Robert Collins
-
Use a travelling salesman heuristic to sort tests, accepting up to twice the total resource setup/teardown cost for fast (N^2) sort times.
- 51. By Robert Collins
-
partition tests to perform resource ordering optimisation into strongly connected sets of tests, reducing optimisation passes to cases where some resources are actually reused.
- 46. By Robert Collins
-
Make public reusable functions for setting up and tearing down resources of a test.
- 45. By Robert Collins
-
Implement an adapter for existing fixtures that honour a setUp/tearDown like protocol.
- 43. By Robert Collins
-
Fix OptimisingTestS
uite.addTest when adding other OptimisingTestSuite instances, which fixes testresources. TestLoader not generating optimising runs.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~testresources-developers/testresources/trunk