Merge lp:~marcoceppi/charms/precise/thinkup/tests into lp:~charmers/charms/precise/thinkup/trunk
| Status: | Merged |
|---|---|
| Merged at revision: | 24 |
| Proposed branch: | lp:~marcoceppi/charms/precise/thinkup/tests |
| Merge into: | lp:~charmers/charms/precise/thinkup/trunk |
| Diff against target: |
134 lines (+88/-0) (has conflicts) 5 files modified
README.md (+26/-0) config.yaml (+3/-0) metadata.yaml (+1/-0) tests/00-setup (+5/-0) tests/99-autogen (+53/-0) Conflict adding file README.md. Moved existing file to README.md.moved. |
| To merge this branch: | bzr merge lp:~marcoceppi/charms/precise/thinkup/tests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Charles Butler (community) | Approve on 2015-01-09 | ||
| José Antonio Rey | charmers | 2014-11-06 | Needs Fixing on 2015-01-09 |
| Antonio Rosales (community) | community | Approve on 2015-01-09 | |
| Review Queue (community) | automated testing | Needs Fixing on 2014-12-10 | |
| Cory Johns | Needs Fixing on 2014-12-02 | ||
|
Review via email:
|
|||
Commit Message
Tests for charm
| Cory Johns (johnsca) wrote : | # |
Fixed charm proof issues in https:/
| Review Queue (review-queue) wrote : | # |
This items has failed automated testing! Results available here http://
- 23. By Marco Ceppi on 2014-12-18
-
[johnsca] Boilerplate README and fixed charm proof warnings
| Antonio Rosales (arosales) wrote : | # |
As this merge proposal only add charm tests and does not touch charm code I would like to suggest to accept this merge proposal even though the charm is failing the tests for the following reasons:
1. A test is still valid even if the results aren't positive.
2. Having charm tests provides the first step to helping the charm author and community fix the charm. Specifically by providing a reproducible failure.
3. The tests are seed (basic) tests that an interested person can build off of.
4. As fixes are made to this charm automating charm testing will be able to run additional tests in addition to charm proof.
5. Having basic tests, as demonstrated here, helps ensure the charm is in a working (deployable) state given this charm is a recommended charm. A test failure can prompt a bug the charm author can take action on. The charm author may not have been aware of the bug had the charm not had even basic deployment tests.
In this case the test does deploy a valid thinkup environment, however the install hook fails. A good point to note here is the seed tests help identify this error. We would have not known of the failure with out the tests. Thus, although the charm is failing charm testing, the test itself is valid.
Thus, for the above reason I would suggest to accept this merge to add in tests.
+1 LGTM
| Antonio Rosales (arosales) wrote : | # |
There is a current bug open for the install hook failure:
https:/
| José Antonio Rey (jose) wrote : | # |
I am not able to merge this until the conflicts are resolved.
| Charles Butler (lazypower) wrote : | # |
Resolved the README.md conflict and pushed this.
Thanks for your work everyone.

`charm proof` failed due to missing README, missing "tags" field from metadata, and missing "default" in config options.
I also got an SSL error during the install hook which caused the 99-autogen test to fail, but it seems likely that this is temporary and caused by a third-party issue.