summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-20 10:48:25 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-20 10:48:25 +0200
commit7bb69c0902b4b074281a95236120775d74879ed6 (patch)
tree4b76b319661f77681f6b6b37e9baea7651beaa9d /tests
parent10fac143414099b4f0a34eca4961f47c4ac09938 (diff)
Check crate docs in CI
Diffstat (limited to 'tests')
-rw-r--r--tests/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/README.md b/tests/README.md
index 78967a96..68b72f2d 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -14,12 +14,12 @@ Top level directory structure:
## Running the tests
Running all tests (including unit tests):
```bash
-cargo test --all
+cargo test --workspace
```
Running just the integration tests (the tests in this directory):
```bash
-cargo test --all --test tests
+cargo test --workspace --test tests
```
You may want to [make yourself an alias](#making-an-alias) like:
@@ -73,13 +73,13 @@ testit empty.typ
### Bash
Open your Bash configuration by executing `nano ~/.bashrc`.
```bash
-alias testit="cargo test --all --test tests --"
+alias testit="cargo test --workspace --test tests --"
```
### PowerShell
Open your PowerShell profile by executing `notepad $profile`.
```ps
function testit {
- cargo test --all --test tests -- $args
+ cargo test --workspace --test tests -- $args
}
```