diff options
author | Robert Collins <robertc@robertcollins.net> | 2008-11-17 07:42:04 +1100 |
---|---|---|
committer | Robert Collins <robertc@robertcollins.net> | 2008-11-17 07:42:04 +1100 |
commit | 087be98c8cb666a26a168a6dfdc5c0fbb8d82983 (patch) | |
tree | 4f01da225a4442567be23aca4e2cebec9e6e40fc /NEWS | |
parent | 9708919e2da7cd8f90166f18ba1fd950ba0e8026 (diff) | |
parent | 8e18b998ffc6beba75e7094ad599e52bce2e85f3 (diff) | |
download | testresources-087be98c8cb666a26a168a6dfdc5c0fbb8d82983.tar.gz |
Merge pyunit3k->testtools change, alpha sorting NEWS sections at the same time.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -8,8 +8,8 @@ IN DEVELOPMENT CHANGES: - * testresources needs pyunit3k to run the testresources test suite. You - can still use testresources without using pyunit3k. (Jonathan Lange) + * testresources needs testtools to run the testresources test suite. You + can still use testresources without using testtools. (Jonathan Lange) IMPROVEMENTS: @@ -28,25 +28,27 @@ IN DEVELOPMENT API CHANGES: - * ResourcedTestCase.setUpResources and tearDownResources are now instance - methods, not static methods. (Jonathan Lange) - * All methods on TestResource are now instance methods, and thus tests should use instances of TestResource subclasses, not the classes themselves. (Jonathan Lange) - * TestResource.setResource has been renamed to _setResource. - (Jonathan Lange) - - * SampleTestResource has been removed. (Jonathan Lange) + * Now imports from testtools rather than pyunit3k. (Jonathan Lange) * ResourcedTestCase will now look for resources in the 'resources' attribute, rather than the '_resources' attribute. (Jonathan Lange) + * ResourcedTestCase.setUpResources and tearDownResources are now instance + methods, not static methods. (Jonathan Lange) + + * SampleTestResource has been removed. (Jonathan Lange) + * TestResource subclasses should override 'make' and 'clean' where they previously overrode '_makeResource' and '_cleanResource'. (Jonathan Lange) + * TestResource.setResource has been renamed to _setResource. + (Jonathan Lange) + INTERNALS: * A lot of the tests have been split up into smaller tests. Others have |