summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorJonathan Lange <jml@canonical.com>2008-09-13 20:24:32 +1000
committerJonathan Lange <jml@canonical.com>2008-09-13 20:24:32 +1000
commit6a0c1f1fd1dea80373c7fc48adb0b665874fbab9 (patch)
treeb4c09dbe38389b099f605c05eb0c50f0c6a9f713 /TODO
parentab57f12712b68c33cb18526b10c01c83f24edf90 (diff)
downloadtestresources-git-6a0c1f1fd1dea80373c7fc48adb0b665874fbab9.tar.gz
Rollback rename of adsorbSuite.
Diffstat (limited to 'TODO')
-rw-r--r--TODO15
1 files changed, 9 insertions, 6 deletions
diff --git a/TODO b/TODO
index 8431754..d7b9fa9 100644
--- a/TODO
+++ b/TODO
@@ -73,25 +73,28 @@ Ideas
* We want to support adding other "special" test suites to
OptimisingTestSuite. In particular, if we add a test suite that provides
- services to its tests to an OptimisingTestSuite, adsorbSuite / addTestFlat
- should not totally flatten the suite, but instead keep the suite, even if it
- changes the structure of the tests.
+ services to its tests to an OptimisingTestSuite, adsorbSuite should not
+ totally flatten the suite, but instead keep the suite, even if it changes
+ the structure of the tests.
e.g. addTest maintains the structure:
>>> OptimisingTestSuite().addTest(SpecialSuite([a, b]))._tests
[SpecialSuite([a, b])]
- Currently, addTestFlat destroys all suite structure:
- >>> OptimisingTestSuite().addTestFlat(SpecialSuite([a, b]))._tests
+ Currently, adsorbSuite destroys all suite structure:
+ >>> OptimisingTestSuite().adsorbSuite(SpecialSuite([a, b]))._tests
[a, b]
Instead, it should preserve the suite while changing the structure:
- >>> OptimisingTestSuite().addTestFlat(SpecialSuite([a, b]))._tests
+ >>> OptimisingTestSuite().adsorbSuite(SpecialSuite([a, b]))._tests
[SpecialSuite(a), SpecialSuite(b)]
All of the tests in each of the resulting new SpecialSuites should have
identical resource requirements so we can still optimise.
+ Once it does this, we should deprecate adsorbSuite and move this
+ functionality to addTest / addTests.
+
* 'TestResource' isn't a very good name. Since the switch to instance-based
resources, it's even worse, since the objects are more like resource
factories or resource managers. Other possible names involve 'asset',