[testing] Refactor Auxiliary Methods
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
Wishlist
|
Victoria Martinez de la Cruz |
Bug Description
Our current approach to testing has some awesome benefits. Namely, anyone can install the Marconi core package, and start writing their own third-party drivers, and utilize the base test classes which offer great conformance tests.
However, there is a devious problem. Currently, there is no easy way to define methods that can be overridden by children test classes short of the author exposing their own X{Queue, Messages, Claims}
The goal here is twofold, and it's all refactoring:
1. Make it possible to expose methods that can be overridden easily in some base class (_purge_databases, _prepare_conf, etc.)
While...
2. Keeping things extensible and making it difficult to encounter the diamond problem.
"There should be one-- and preferably only one --obvious way to do it."
Changed in marconi: | |
importance: | Undecided → Low |
Changed in marconi: | |
importance: | Low → Wishlist |
status: | New → Triaged |
Changed in marconi: | |
assignee: | nobody → Victoria Martínez de la Cruz (vkmc) |
Changed in marconi: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in zaqar: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/98916
Review: https:/