|
testing: make charm API into a test fixture.
Some advantages of the new scheme:
- some code becomes simpler.
- the API is smaller and arguably easier to use.
- we run no risk of modifying the original charms,
because there's no longer any distinction between
cloned charms and uncloned charms (all charms
are cloned on demand).
- it's easy to get a charm for a particular series
(something we want when live-deploying charms)
https://code.launchpad.net/~rogpeppe/juju-core/052-testing-charm-suite/+merge/122864
(do not edit description out of merge proposal)
Total comments: 19
Total comments: 7
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+234 lines, -208 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
charm/bundle_test.go
|
View
|
1
|
5 chunks |
+8 lines, -7 lines |
1 comment
|
Download
|
 |
M |
charm/charm_test.go
|
View
|
1
|
1 chunk |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
charm/config_test.go
|
View
|
1
|
2 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
charm/dir_test.go
|
View
|
1
|
6 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
charm/meta_test.go
|
View
|
1
|
5 chunks |
+20 lines, -14 lines |
0 comments
|
Download
|
 |
M |
charm/repo_test.go
|
View
|
1
|
3 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/addunit_test.go
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/deploy_test.go
|
View
|
1
|
8 chunks |
+12 lines, -19 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/expose_test.go
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/status_test.go
|
View
|
1
2
3
4
|
9 chunks |
+28 lines, -30 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/unexpose_test.go
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
juju/deploy_test.go
|
View
|
1
|
12 chunks |
+22 lines, -30 lines |
0 comments
|
Download
|
 |
M |
juju/testing/conn.go
|
View
|
1
2
3
|
5 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mstate/conn_test.go
|
View
|
1
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
mstate/state_test.go
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
state/state_test.go
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
store/branch_test.go
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
store/store_test.go
|
View
|
1
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
testing/charm.go
|
View
|
1
|
2 chunks |
+70 lines, -65 lines |
1 comment
|
Download
|
 |
M |
worker/uniter/charm/charm_test.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
worker/uniter/uniter_test.go
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12
|