mirror of
https://github.com/joyieldInc/predixy.git
synced 2026-02-05 01:42:24 +08:00
Document testing in README
This commit is contained in:
parent
dca6079f59
commit
9117970abb
@ -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.
|
||||||
|
|||||||
@ -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命令来给出统计信息。
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user