summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-06 22:59:49 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-06 23:01:10 +0800
commitcaa61ebc1ae74655331c9522bb13296e49b1a499 (patch)
tree76b5510bfbbc7118469b5a287dfb1663b8d121c4
parentf93579f7f651c73e32a4951a0578aaed54f1b421 (diff)
Add test coverage to contributing guide
JIRA: QTIP-204 Change-Id: I0ff8a00f287544d82628e940ee530b5e9150a1e0 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rw-r--r--CONTRIBUTING.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a4929172..03420986 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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
-------------