Skip to content

Commit 71fc0f1

Browse files
committed
update test docs
1 parent 3a504ae commit 71fc0f1

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

examples/server/tests/README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,16 @@ It's possible to override some scenario steps values with environment variables:
3232
| `DEBUG` | "ON" to enable steps and server verbose mode `--verbose` |
3333
| `N_GPU_LAYERS` | number of model layers to offload to VRAM `-ngl --n-gpu-layers` |
3434

35-
### Run @bug, @wip or @wrong_usage annotated scenario
36-
37-
Feature or Scenario must be annotated with `@llama.cpp` to be included in the default scope.
38-
39-
- `@bug` annotation aims to link a scenario with a GitHub issue.
40-
- `@wrong_usage` are meant to show user issue that are actually an expected behavior
41-
- `@wip` to focus on a scenario working in progress
42-
- `@slow` heavy test, disabled by default
43-
44-
To run a scenario annotated with `@bug`, start:
35+
To run slow tests:
4536

4637
```shell
47-
DEBUG=ON ./tests.sh --no-skipped --tags bug --stop
38+
SLOW_TESTS=1 ./tests.sh
4839
```
4940

50-
After changing logic in `steps.py`, ensure that `@bug` and `@wrong_usage` scenario are updated.
41+
To run with stdout/stderr display in real time (verbose output, but useful for debugging):
5142

5243
```shell
53-
./tests.sh --no-skipped --tags bug,wrong_usage || echo "should failed but compile"
44+
./tests.sh -s -v -x
5445
```
46+
47+
To see all available arguments, please refer to [pytest documentation](https://docs.pytest.org/en/stable/how-to/usage.html)

0 commit comments

Comments
 (0)