Skip to content

[Improvement][docs] Unit test benchmark specification#165

Merged
davidzollo merged 5 commits intoapache:masterfrom
CalvinKirs:test
Aug 19, 2020
Merged

[Improvement][docs] Unit test benchmark specification#165
davidzollo merged 5 commits intoapache:masterfrom
CalvinKirs:test

Conversation

@CalvinKirs
Copy link
Copy Markdown
Member

unit test benchmark specification

Copy link
Copy Markdown
Member

@gabry-lab gabry-lab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@gabry-lab
Copy link
Copy Markdown
Member

@CalvinKirs Let's invite @dailidong and @qiaozhanwei to review this PR, if there're no opposite suggestions, this can be merged

@CalvinKirs
Copy link
Copy Markdown
Member Author

@CalvinKirs Let's invite @dailidong and @qiaozhanwei to review this PR, if there're no opposite suggestions, this can be merged

Thank you very much for your review

Comment on lines +41 to +43



Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Comment on lines +32 to +33


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change


即任何环境都可快速执行。

这要求我们尽可能不要依赖太多组件,如各种spring bean之类的。在单元测试中,这些都是可被mock的,增加这些,会加大我们单测的执行速度,同时也可能会传递污染。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
这要求我们尽可能不要依赖太多组件,如各种spring bean之类的。在单元测试中,这些都是可被mock的,增加这些,会加大我们单测的执行速度,同时也可能会传递污染。
这要求我们尽可能不要依赖太多组件,如各种 spring bean 之类的。在单元测试中,这些都是可被 mock 的,增加这些,会加大我们单测的执行速度,同时也可能会传递污染。

@yangyichao-mango
Copy link
Copy Markdown
Contributor

Please change the title to [Improvement][docs] Unit test benchmark specification. Thx a lot~.

@CalvinKirs CalvinKirs changed the title [docs] unit test benchmark specification [Improvement][docs] Unit test benchmark specification Aug 8, 2020
Copy link
Copy Markdown
Member

@gabry-lab gabry-lab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Copy Markdown
Contributor

@davidzollo davidzollo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1
good job
if add more unit test examples will be better

@davidzollo davidzollo merged commit 45569da into apache:master Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants