Document testing in README

This commit is contained in:
Julien Letessier 2026-01-14 22:35:47 +01:00
parent dca6079f59
commit 9117970abb
2 changed files with 16 additions and 0 deletions

View File

@ -79,6 +79,14 @@ More command line arguments:
$ src/predixy -h $ src/predixy -h
## Testing
Run all tests using the Makefile target:
$ make test
This will automatically start predixy, run the test suite, and stop predixy when done. The tests use `uv` for dependency management to ensure consistent Python and package versions across environments.
## Stats ## Stats
Like redis, predixy use INFO command to give stats. Like redis, predixy use INFO command to give stats.

View File

@ -84,6 +84,14 @@ predixy的配置类似redis, 具体配置项的含义在配置文件里有详细
$ src/predixy -h $ src/predixy -h
## 测试
使用 Makefile 目标运行所有测试:
$ make test
这将自动启动 predixy运行测试套件完成后停止 predixy。测试使用 `uv` 进行依赖管理,以确保在不同环境中保持一致的 Python 和包版本。
## 统计信息 ## 统计信息
和redis一样predixy用INFO命令来给出统计信息。 和redis一样predixy用INFO命令来给出统计信息。