Skip to content

Commit 8e0ed9f

Browse files
committed
Optionally show how to run individual specs
Signed-off-by: Sebastian (Tiedtke) Huckleberry <sebastiantiedtke@gmail.com>
1 parent fe1378a commit 8e0ed9f

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

dagger/BUILD.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,20 @@ First let's run the unit tests. They give us fast feedback.
7070
Extension | unit-test | stdout
7171
```
7272

73-
Then, let's run the end-to-end tests. These require a X server frame buffer which is provided by `xvfb-run` on "native" Linux. These take a good while to finish but mimic extension users closely.
73+
Then, let's run the end-to-end tests. These require a virtual X server frame buffer which is provided by `xvfb-run` on "native" Linux. These take a good while to finish but mimic extension users closely.
7474

75-
```sh {"name":"E2ETests"}
76-
### Exported in runme.dev as E2ETests
77-
Extension | e2e-test | stdout
75+
```sh {"name":"IntegrationTests","terminalRows":"37"}
76+
### Exported in runme.dev as IntegrationTests
77+
Extension | integration-test | stdout
7878
```
7979

80-
If they fail, you can re-run them with the `--debug` flag and grab logs and screenshots inside of `tests/e2e/logs`.
80+
It's simple to just run a specific integration test spec with the following line.
81+
82+
```sh
83+
Extension | integration-test --spec "specs/identity/identity.existent-cell.all.e2e.ts" | stdout
84+
```
85+
86+
If they fail, you can re-run them with the `--debug` flag and grab logs and screenshots inside of `/tmp/e2e-logs`.
8187

8288
```sh {"terminalRows":"35"}
8389
Extension | e2e-test --debug | directory "tests/e2e/logs" | export /tmp/e2e-logs

0 commit comments

Comments
 (0)