Merge lp:~stub/charm-helpers/test-harness into lp:charm-helpers
Proposed by
Stuart Bishop
Status: | Rejected |
---|---|
Rejected by: | Stuart Bishop |
Proposed branch: | lp:~stub/charm-helpers/test-harness |
Merge into: | lp:charm-helpers |
Prerequisite: | lp:~stub/charm-helpers/bug-1214793-service-wrappers |
Diff against target: |
247 lines (+232/-0) 3 files modified
charmhelpers/testing/README (+36/-0) charmhelpers/testing/__init__.py (+3/-0) charmhelpers/testing/jujufixture.py (+193/-0) |
To merge this branch: | bzr merge lp:~stub/charm-helpers/test-harness |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matthew Wedgwood (community) | Needs Fixing | ||
Charm Helper Maintainers | Pending | ||
Review via email: mp+181865@code.launchpad.net |
Description of the change
This is a Python test fixture for driving Juju, simplifying the task of writing charm tests.
charm-helpers seems a suitable home for this. contrib for now, as the API will likely change when Juju features like containers land.
To post a comment you must log in.
Unmerged revisions
- 52. By Stuart Bishop
-
Merged bug-1214793-service-wrappers into test-harness.
- 51. By Stuart Bishop
-
Merged bug-1214793-service-wrappers into test-harness.
- 50. By Stuart Bishop
-
Merged bug-1214793-service-wrappers into test-harness.
- 49. By Stuart Bishop
-
update docs
- 48. By Stuart Bishop
-
Some basic docs for the testing infrastructure
- 47. By Stuart Bishop
-
delint
- 46. By Stuart Bishop
-
Merged bug-1214793-service-wrappers into test-harness.
- 45. By Stuart Bishop
-
Move out of contrib
- 44. By Stuart Bishop
-
Remove run.py
- 43. By Stuart Bishop
-
Extract JujuFixture from postgresql charm
I think this is great, and and I agree that charmhelpers is the right place for this. Here's what I think it needs before merge:
* Combine the two modules into one. run() looks lonely. fetch.bzrurl. testing/ __init_ _.py (out of contrib)
* make lint, fix the issues
* Install python-fixtures for the user if they don't already have it installed. See charmhelpers.
* Move this to charmhelpers/
* Add some docs, even if it's simply a description and example in the module docstring.
Thanks!