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

Template PR for server unit test cases using GoMock and Mockgen #824

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Kshitij-Katiyar
Copy link
Contributor

@Kshitij-Katiyar Kshitij-Katiyar commented Sep 16, 2024

Summary

  1. Added the base setup to use the Gomock and Mockgen to create mocks in the github plugin.
  2. Created the PR for adding the test cases in the github plugin using mocks for command.go file. Mainly
    /github help and /github about command.

For reference of GoMock: https://www.codecentric.de/wissens-hub/blog/gomock-tutorial

@hanzei hanzei added the 2: Dev Review Requires review by a core committer label Sep 25, 2024
server/plugin/command_test.go Outdated Show resolved Hide resolved
server/plugin/command_test.go Show resolved Hide resolved
server/plugin/command_test.go Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants