diff --git a/cpp/CONTRIBUTING.md b/cpp/CONTRIBUTING.md index 0d9e30f6781e2e43b4ee4d62d79187f2946f17de..8711d8705047d1c737c15e9c5ba39b0ae940c901 100644 --- a/cpp/CONTRIBUTING.md +++ b/cpp/CONTRIBUTING.md @@ -43,11 +43,22 @@ Before sending your pull requests for review, make sure your changes are consist ## Coding Style +The coding style used in Milvus generally follow [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html). +And we made the following changes based on the guide: + +- 4 spaces for indentation +- Adopt .cpp file extension instead of .cc extension +- 120-character line length +- The file name starts with the upper case ## Run unit test +We use Google Test framework for test running. +To run unit test for Milvus under C++, please use the following command: + ```shell +# Run unit test for Milvus $ ./build.sh -u ```