-
Notifications
You must be signed in to change notification settings - Fork 805
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
[code-coverage] add tests for HandleDecisionTaskCompleted() #5934
[code-coverage] add tests for HandleDecisionTaskCompleted() #5934
Conversation
Pull Request Test Coverage Report for Build 018f0c6d-2ebf-4b6f-88d6-260f7abd9eefDetails
💛 - Coveralls |
Codecov Report
Additional details and impacted filessee 7 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
domainID: constants.TestDomainID, | ||
expectedErr: &types.BadRequestError{Message: "Can't load workflow execution. WorkflowId not set."}, | ||
expectMockCalls: func(ctrl *gomock.Controller, decisionHandler *handlerImpl) { | ||
_taskToken := &common.TaskToken{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't use _variable naming. Let's stick with regular naming patterns to avoid confusion. When I saw this I looked around to see whether this is a member variable or package level etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment applies to all underscore '_' prefixed variable names in this file
What changed?
service/history/resource
Why?
📈 Improve code coverage in
service/handler/decision
folderHow did you test it?
Unit tests
Potential risks
Release notes
Documentation Changes