forked from dork/tarantool-java
-
Notifications
You must be signed in to change notification settings - Fork 19
test: improve test locality #188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
code health
Improve code readability, simplify maintenance and so on
Comments
@Totktonada any extra thoughts about it? |
Agreed. No, I have no extra thoughts. |
nicktorwald
added a commit
that referenced
this issue
May 28, 2019
Many test cases are scattered over test hierarchies which is hard to answer distinctly: what the state do we have before the test? what's the flow between test executions? and so on. Avoiding the deep hierarchies should increase test readability. Closes: #188
nicktorwald
added a commit
that referenced
this issue
May 28, 2019
Many test cases are scattered over test hierarchies which is hard to answer distinctly: what the state do we have before the test? what's the flow between test executions? and so on. Avoiding deep hierarchies should increase a test readability. Closes: #188
nicktorwald
added a commit
that referenced
this issue
Jun 11, 2019
Many test cases are scattered over test hierarchies which is hard to answer distinctly: what the state do we have before the test? what's the flow between test executions? and so on. Avoiding deep hierarchies should increase a test readability. Closes: #188
nicktorwald
added a commit
that referenced
this issue
Jun 12, 2019
Many test cases are scattered over test hierarchies which is hard to answer distinctly: what the state do we have before the test? what's the flow between test executions? and so on. Avoiding deep hierarchies should increase a test readability. Closes: #188
nicktorwald
added a commit
that referenced
this issue
Jun 12, 2019
Many test cases are scattered over test hierarchies which is hard to answer distinctly: what the state do we have before the test? what's the flow between test executions? and so on. Avoiding deep hierarchies should increase a test readability. Closes: #188
nicktorwald
added a commit
that referenced
this issue
Jun 12, 2019
Many test cases are scattered over test hierarchies which is hard to answer distinctly: what the state do we have before the test? what's the flow between test executions? and so on. Avoiding deep hierarchies should increase a test readability. Closes: #188
nicktorwald
added a commit
to nicktorwald/tarantool-java
that referenced
this issue
Jul 1, 2019
Many test cases are scattered over test hierarchies which is hard to answer distinctly: what the state do we have before the test? what's the flow between test executions? and so on. Avoiding deep hierarchies should increase a test readability. Closes: tarantool#188
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
At least, we need to increase test locality moving arrange-act-assert pattern within one test method or at most in one test class for the reused arrangements (@ before / @ after).
An example of a test class structure:
The text was updated successfully, but these errors were encountered: