mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
* [skip ci] use pymilvus-test, remove personal git repo Signed-off-by: zw <zw@milvus.io> * [skip ci] add pytest dry-run Signed-off-by: zw <zw@milvus.io> * [skip ci] fix compact case bug Signed-off-by: zw <zw@milvus.io> * [skip ci] add search case: search with different metric_type Signed-off-by: zw <zw@milvus.io> * [skip ci] add search case: search with different metric_type Signed-off-by: zw <zw@milvus.io> * fix index.py Signed-off-by: zw <zw@milvus.io> * get_stats changed: some cases disabled Signed-off-by: zw <zw@milvus.io> * fix case bug Signed-off-by: zw <zw@milvus.io> * fix case bug Signed-off-by: zw <zw@milvus.io> * set search binary level-2 Signed-off-by: zw <zw@milvus.io> Co-authored-by: zw <zw@milvus.io> Co-authored-by: Jin Hai <hai.jin@zilliz.com>
Requirements
- python 3.6.8+
- pip install -r requirements.txt
How to use this Test Project
pytest . --level=1
or test connect function only
pytest test_connect.py --level=1
collect cases
pytest --day-run -qq
collect cases with docstring
pytest --collect-only -qq
with allure test report
pytest --alluredir=test_out . -q -v
allure serve test_out
Contribution getting started
- Follow PEP-8 for naming and black for formatting.