From daa5e47074037b7c0d501daa5d202e054bf17830 Mon Sep 17 00:00:00 2001 From: FanouZeng-TT <18280587072@163.com> Date: Fri, 21 Aug 2026 17:10:55 +0800 Subject: [PATCH] docs: fix custom server test runner --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c95795c..e484574 100644 --- a/README.md +++ b/README.md @@ -164,11 +164,13 @@ uv sync Run the tests pointing to your server: ```bash -SERVER_URL=https://your-merchant-server.com \ -SIMULATION_SECRET=your-sim-secret \ -uv run pytest \ - --conformance_input=path/to/your/conformance_input.json \ - --fixture_config=path/to/your/test_fixtures.json +for test_file in *_test.py; do + uv run "${test_file}" \ + --server_url=https://your-merchant-server.com \ + --simulation_secret=your-sim-secret \ + --conformance_input=path/to/your/conformance_input.json \ + --fixture_config=path/to/your/test_fixtures.json || exit 1 +done ``` Alternatively, you can run individual test files and pass arguments: