This is an automated email from the ASF dual-hosted git repository.
wangxin pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 2d28d35 update develop.js and test-coverage-guide_dev.md
2d28d35 is described below
commit 2d28d3507db3b267c81420fce891b7eecf71571d
Author: wangxin03 <[email protected]>
AuthorDate: Tue Nov 20 11:20:20 2018 +0800
update develop.js and test-coverage-guide_dev.md
---
.../zh-cn/developers/contributor-guide/test-coverage-guide_dev.md | 2 +-
site_config/develop.js | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/zh-cn/developers/contributor-guide/test-coverage-guide_dev.md
b/docs/zh-cn/developers/contributor-guide/test-coverage-guide_dev.md
index cd21174..7ef5260 100644
--- a/docs/zh-cn/developers/contributor-guide/test-coverage-guide_dev.md
+++ b/docs/zh-cn/developers/contributor-guide/test-coverage-guide_dev.md
@@ -10,7 +10,7 @@
* 单元测试也应该好好设计,不要写无用的代码。
* 当你发现一个`方法`很难写单元测试时,如果可以确认这个`方法`是`臭代码`,那么就和开发者一起重构它。
* Dubbo中用的mock框架是: [mockito](http://site.mockito.org/). 下面是一些开发向导:[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
+ * TDD(可选):当你开始写一个新的功能时,你可以试着先写测试用例。
### 3.测试覆盖率设定值
* 在现阶段,Delta更改代码的测试覆盖设定值为:>=60%,越高越好。
* 我们可以在这个页面中看到测试报告: https://codecov.io/gh/apache/incubator-dubbo
\ No newline at end of file
diff --git a/site_config/develop.js b/site_config/develop.js
index eff9ebf..fd24fbd 100644
--- a/site_config/develop.js
+++ b/site_config/develop.js
@@ -27,12 +27,12 @@ export default {
},
{
title: 'Mailing list subscription guide',
- link:
'/en-us/docs/developers/contributor-guide/cla-signing-guide_dev.html',
+ link:
'/en-us/docs/developers/contributor-guide/mailing-list-subscription-guide_dev.html',
}
,
{
title: 'CLA Signing Guide',
- link:
'/en-us/docs/developers/contributor-guide/mailing-list-subscription-guide_dev.html',
+ link:
'/en-us/docs/developers/contributor-guide/cla-signing-guide_dev.html',
}
,
{
@@ -102,12 +102,12 @@ export default {
},
{
title: '邮件列表订阅向导',
- link:
'/zh-cn/docs/developers/contributor-guide/cla-signing-guide_dev.html',
+ link:
'/zh-cn/docs/developers/contributor-guide/mailing-list-subscription-guide_dev.html',
}
,
{
title: 'CLA签署向导',
- link:
'/zh-cn/docs/developers/contributor-guide/mailing-list-subscription-guide_dev.html',
+ link:
'/zh-cn/docs/developers/contributor-guide/cla-signing-guide_dev.html',
}
,
{