Skip to content

Document our guidelines for mocking #655

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

Open
gpsaggese opened this issue May 4, 2025 · 0 comments
Open

Document our guidelines for mocking #655

gpsaggese opened this issue May 4, 2025 · 0 comments
Assignees

Comments

@gpsaggese
Copy link
Contributor

          Ugh. There is so much mocking that at best we test only what you already know it works, at worst we don't really test anything.

Our rule for mocking is to mock only the external services (in this case we should mock the interaction with GH)

Can we improve helpers_root/docs/coding/all.write_unit_tests.how_to_guide.md
explaining these, making examples and so on?

You can work with @heanhsok on this

Originally posted by @gpsaggese in #649 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants