From 9117970abba8e8df7fa06afdfedfa5b97a0b8a10 Mon Sep 17 00:00:00 2001 From: Julien Letessier Date: Wed, 14 Jan 2026 22:35:47 +0100 Subject: [PATCH] Document testing in README --- README.md | 8 ++++++++ README_CN.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/README.md b/README.md index e0caff1..ab085ae 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,14 @@ More command line arguments: $ 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 Like redis, predixy use INFO command to give stats. diff --git a/README_CN.md b/README_CN.md index 013fa19..8b9875f 100644 --- a/README_CN.md +++ b/README_CN.md @@ -84,6 +84,14 @@ predixy的配置类似redis, 具体配置项的含义在配置文件里有详细 $ src/predixy -h +## 测试 + +使用 Makefile 目标运行所有测试: + + $ make test + +这将自动启动 predixy,运行测试套件,完成后停止 predixy。测试使用 `uv` 进行依赖管理,以确保在不同环境中保持一致的 Python 和包版本。 + ## 统计信息 和redis一样,predixy用INFO命令来给出统计信息。