Difference between revisions of "File:Proposed Design.pdf"
(Ghanshyam Mann uploaded a new version of "File:Proposed Design.pdf") |
(Proposed Design https://blueprints.launchpad.net/tempest/+spec/nova-api-test-inheritance) |
||
Line 1: | Line 1: | ||
+ | |||
+ | Benefit of this design- | ||
+ | |||
+ | 1. Take care the Single Responsibility principle. V2 and V3 base code is in different classes. | ||
+ | |||
+ | 2. Avoid lot of “if, else” condition. | ||
+ | |||
+ | 3. Leads to minimal changes required in existing code. None of the V2 API test classes needs to be changed for their base class name etc. | ||
+ | |||
+ | |||
+ | Note- Diamond problem can be overcome from this design by MRO. |
Latest revision as of 02:47, 10 March 2014
Benefit of this design-
1. Take care the Single Responsibility principle. V2 and V3 base code is in different classes.
2. Avoid lot of “if, else” condition.
3. Leads to minimal changes required in existing code. None of the V2 API test classes needs to be changed for their base class name etc.
Note- Diamond problem can be overcome from this design by MRO.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Dimensions | User | Comment | |
---|---|---|---|---|
current | 02:42, 10 March 2014 | (25 KB) | Ghanshyam Mann (talk | contribs) | |
02:33, 10 March 2014 | (25 KB) | Ghanshyam Mann (talk | contribs) |
- You cannot overwrite this file.
File usage
There are no pages that link to this file.