From caa61ebc1ae74655331c9522bb13296e49b1a499 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Mon, 6 Feb 2017 22:59:49 +0800 Subject: Add test coverage to contributing guide JIRA: QTIP-204 Change-Id: I0ff8a00f287544d82628e940ee530b5e9150a1e0 Signed-off-by: Yujun Zhang --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ------------- -- cgit 1.2.3-korg