Skip to content
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

[Test] add unit test for /arana/pkg/sequence/... package. #731

Closed
dongzl opened this issue Jul 31, 2023 · 1 comment · Fixed by #765
Closed

[Test] add unit test for /arana/pkg/sequence/... package. #731

dongzl opened this issue Jul 31, 2023 · 1 comment · Fixed by #765
Assignees
Labels
good first issue Good for newcomers test Unit test.
Milestone

Comments

@dongzl
Copy link
Contributor

dongzl commented Jul 31, 2023

What would you like to be added:

Why is this needed:

add unit test for /arana/pkg/sequence/... package.

image image image image

use this tools:

go test ./pkg/security/ -v -coverprofile=count.out

go tool cover -html=count.out
@dongzl dongzl added test Unit test. good first issue Good for newcomers labels Jul 31, 2023
@dongzl dongzl added this to the 0.2.0 milestone Jul 31, 2023
@Mulavar Mulavar self-assigned this Aug 19, 2023
@dongzl
Copy link
Contributor Author

dongzl commented Sep 2, 2023

需要 mock 内容比较多

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers test Unit test.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants