You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,14 +55,14 @@ To run the whole system via Terraform, juju and charms simulating production and
55
55
56
56
A charmed Test Observer deployment can be integration tested using `charmcraft test` (which itself internally uses a classically confined copy of [spread](https://github.com/canonical/spread) bundled with `charmcraft`).
57
57
58
-
The integration tests are runnable either locally (using [lxd](https://documentation.ubuntu.com/lxd/en/latest/installing/) at the time of writing) or using GitHub. Alternative test execution backends are configurable by adding new `adhoc` backends next to `lxd` and `github` in the [spread.yaml](./spread.yaml).
58
+
The integration tests are runnable either locally or using GitHub. Alternative test execution backends are configurable by adding new `adhoc` backends next to `lxd-vm` and `localhost` in the [spread.yaml](./spread.yaml).
59
59
60
60
### Run integration tests locally
61
61
62
62
Tests can be run locally with either `charmcraft test lxd` or `charmcraft.spread lxd` (the latter gives a bit more verbose log output).
63
63
64
64
```bash
65
-
charmcraft.spread -v lxd
65
+
charmcraft.spread -v lxd-vm
66
66
```
67
67
68
68
### Jump into a `spread` provided shell environment
@@ -71,11 +71,11 @@ To debug the charm integration tests, you can jump into a `spread` provided envi
71
71
72
72
```bash
73
73
# open a shell to the execution environment _before_ executing each test task
74
-
charmcraft.spread -v -shell-before lxd
74
+
charmcraft.spread -v -shell-before lxd-vm
75
75
76
76
# open a shell to the execution environment _instead of_ executing each test task
77
-
charmcraft.spread -v -shell lxd
77
+
charmcraft.spread -v -shell lxd-vm
78
78
79
79
# open a shell to the execution environment _after_ of executing each test task
0 commit comments