Skip to content

Commit 47bb9a3

Browse files
authored
Improve testing notes in CLAUDE.md (#1970)
- Clarify that `make test` compiles and loads the extension automatically, so `make all` and `make install` are not needed before running tests - Recommend the `.log` file as the starting point for debugging failed tests, as it contains all intermediate output in one place
1 parent bb72111 commit 47bb9a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.claude/CLAUDE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ make test TESTS=tests/path/to/test.phpt
4040
make test TESTS="tests/path/to/pattern*.phpt"
4141
```
4242

43-
For failed tests, all intermediate files (e.g. expected output, actual output, diff) are left alongside the test file. This is helpful for debugging purposes.
43+
`make test` compiles the extension and loads it automatically — no need to run `make all` or `make install` first.
44+
45+
For failed tests, all intermediate files (e.g. expected output, actual output, diff) are left alongside the test file.
46+
The `.log` file contains everything in one place and is the recommended starting point for debugging.
4447

4548
Key environment variables for testing:
4649
- `MONGODB_URI` – connection string (default: `mongodb://127.0.0.1/`)

0 commit comments

Comments
 (0)