You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by wa...@apache.org on 2018/11/19 14:39:35 UTC
[incubator-dubbo.wiki] branch master updated: Updated Test coverage
guide (markdown)
This is an automated email from the ASF dual-hosted git repository.
wangxin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new 5c2508c Updated Test coverage guide (markdown)
5c2508c is described below
commit 5c2508cee27a76640d407b91d27301b69125c6f5
Author: Xin Wang <xi...@gmail.com>
AuthorDate: Mon Nov 19 22:39:33 2018 +0800
Updated Test coverage guide (markdown)
---
Test-coverage-guide.md | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/Test-coverage-guide.md b/Test-coverage-guide.md
index 18e9e05..7ca1a59 100644
--- a/Test-coverage-guide.md
+++ b/Test-coverage-guide.md
@@ -1,14 +1 @@
-### 1.The benefits of unit testing
- * Unit test code can help everyone to go into details and understand the function of the code.
- * We can find bugs by test case, and then enhance the robustness of the code.
- * Test case code is also the demo usage of the core code.
-### 2.Some design principle of unit test case
- * Steps, fine-grained and combination conditions should be well designed.
- * Attention to boundary condition test
- * Test code should also be designed without writing useless code.
- * When you find a `method` that is hard to write unit test, if you can be sure the `method` is "smelly code", then refactor it with the committer.
- * The mock framework in dubbo is: [mockito](http://site.mockito.org/). Some tutorials:[mockito tutorial](http://www.baeldung.com/bdd-mockito),[mockito refcard](https://dzone.com/refcardz/mockito)
- * TDD(optional):When you start a new issue, you can try to write test case at first
-### 3.The specified value of the test coverage
- * In the stage, the test coverage specified value of delta changed codes is :>=60%. The higher, the better.
- * We can see the coverage report in this page: https://codecov.io/gh/apache/incubator-dubbo
\ No newline at end of file
+Test coverage guide has bean migrated http://dubbo.apache.org/en-us/docs/developers/contributor-guide/test-coverage-guide_dev.html
\ No newline at end of file