Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
milvus
milvus
提交
f121be43
M
milvus
项目概览
milvus
/
milvus
12 个月 前同步成功
通知
261
Star
22476
Fork
2472
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
milvus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
f121be43
编写于
9月 22, 2021
作者:
G
groot
提交者:
GitHub
9月 22, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[skip ci] Update development doc (#8310)
Signed-off-by:
N
yhmo
<
yihua.mo@zilliz.com
>
上级
b667bad1
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
42 addition
and
13 deletion
+42
-13
DEVELOPMENT.md
DEVELOPMENT.md
+42
-13
未找到文件。
DEVELOPMENT.md
浏览文件 @
f121be43
...
...
@@ -4,19 +4,23 @@ This document will help to setup your development environment and running tests.
Table of contents
=================
*
[
Building Milvus with Docker
](
#building-milvus-with-docker
)
*
[
Building Milvus on a local OS/shell environment
](
#building-milvus-on-a-local-osshell-environment
)
*
[
Hardware Requirements
](
#hardware-requirements
)
*
[
Installing Required Software
](
#installing-required-software
)
*
[
Dependencies
](
#dependencies
)
*
[
CMake
](
#cmake
)
*
[
Go
](
#go
)
*
[
Docker & Docker Compose
](
#docker--docker-compose
)
*
[
Building Milvus
](
#building-milvus
)
*
[
A Quick Start for Testing Milvus
](
#a-quick-start-for-testing-milvus
)
*
[
Presubmission Verification
](
#presubmission-verification
)
*
[
Unit Tests
](
#unit-tests
)
*
[
E2E Tests
](
#e2e-tests
)
-
[
Development
](
#development
)
-
[
Table of contents
](
#table-of-contents
)
-
[
Building Milvus with Docker
](
#building-milvus-with-docker
)
-
[
Building Milvus on a local OS/shell environment
](
#building-milvus-on-a-local-osshell-environment
)
-
[
Hardware Requirements
](
#hardware-requirements
)
-
[
Installing Required Software
](
#installing-required-software
)
-
[
Dependencies
](
#dependencies
)
-
[
CMake
](
#cmake
)
-
[
Go
](
#go
)
-
[
Docker & Docker Compose
](
#docker--docker-compose
)
-
[
Building Milvus
](
#building-milvus
)
-
[
A Quick Start for Testing Milvus
](
#a-quick-start-for-testing-milvus
)
-
[
Presubmission Verification
](
#presubmission-verification
)
-
[
Unit Tests
](
#unit-tests
)
-
[
Code coverage
](
#code-coverage
)
-
[
E2E Tests
](
#e2e-tests
)
-
[
GitHub Flow
](
#github-flow
)
## Building Milvus with Docker
...
...
@@ -151,6 +155,31 @@ To run single test case, for instance, run TestSearchTask in /internal/proxy dir
$
go
test
-v
./internal/proxy/
-test
.run TestSearchTask
```
### Code coverage
Before submitting your Pull Request, make sure your code change is covered by unit test. Use the following commands to check code coverage rate:
Install lcov(cpp code coverage tool)
```
shell
$
sudo
apt-get
install
lcov
```
Run unit test and generate report for code coverage
```
shell
$
make codecov
```
This command will generate html report for Golang and C++ respectively.
For Golang report, open the
`go_coverage.html`
under milvus project path.
For C++ report, open the
`cpp_coverage/index.html`
under milvus project path.
You also can generate Golang coverage report by:
```
shell
$
make codecov-go
```
Or C++ coverage report by:
```
shell
$
make codecov-cpp
```
### E2E Tests
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录