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

Decide a mocking framework for interface #4097

Closed
3 tasks done
girishramnani opened this issue Oct 8, 2020 · 0 comments · Fixed by #4110
Closed
3 tasks done

Decide a mocking framework for interface #4097

girishramnani opened this issue Oct 8, 2020 · 0 comments · Fixed by #4110
Assignees
Labels
area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering kind/user-story An issue of user-story kind

Comments

@girishramnani
Copy link
Contributor

girishramnani commented Oct 8, 2020

/kind user-story

User Story

As a developer I would like to make tooling around a mocking framework that would allow me to automate creating mock structs from interfaces in the code.
Currently we are considering between

  • gomock with mockgen
  • testify with mockery

Acceptance Criteria

  • The framework should be easy to use
  • Add documentation with samples on how to build a mock struct and use it
  • should have support for nested interfaces as we are using that in odo

Links

/kind user-story

@girishramnani girishramnani added area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering triage/needs-information Indicates an issue needs more information in order to work on it. labels Oct 8, 2020
@openshift-ci-robot openshift-ci-robot added the kind/user-story An issue of user-story kind label Oct 8, 2020
@girishramnani girishramnani changed the title Decide a mocking framework for interface mocking Decide a mocking framework for interface Oct 8, 2020
@prietyc123 prietyc123 added triage/ready and removed triage/needs-information Indicates an issue needs more information in order to work on it. labels Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Issues or PRs related to testing, Quality Assurance or Quality Engineering kind/user-story An issue of user-story kind
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants