Add test coverage to contributing guide 27/28127/1
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Mon, 6 Feb 2017 14:59:49 +0000 (22:59 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Mon, 6 Feb 2017 15:01:10 +0000 (23:01 +0800)
JIRA: QTIP-204
Change-Id: I0ff8a00f287544d82628e940ee530b5e9150a1e0
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
CONTRIBUTING.md

index a492917..0342098 100644 (file)
@@ -83,6 +83,15 @@ Specially, it is recommended to link each patch set with a JIRA issue. Put
 
 in commit message to create an automatic link.
 
+Test Coverage
+-------------
+
+The implementation, including new features and bug fix, **must** be covered by
+unit test. The criteria for test coverage in QTIP project are as following:
+
+* >=80% coverage for each file
+* >=90% overall coverage for whole project
+
 Documentation
 -------------