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

[Feature] Add examples for mocking macros #20

Open
1 task done
jyotidhiman0610 opened this issue Sep 21, 2022 · 1 comment
Open
1 task done

[Feature] Add examples for mocking macros #20

jyotidhiman0610 opened this issue Sep 21, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@jyotidhiman0610
Copy link

Is this your first time opening an issue?

Describe the Feature

We are working on a use case where the macro internally maps to some classes. To perform the testing efficiently, classes need to be mocked instead of class functionality being used.
With macros directly pytest mocking cannot be used, some examples need to be added to showcase how to mock in the case of macros.

Describe alternatives you've considered

No response

Who will this benefit?

No response

Are you interested in contributing this feature?

No response

Anything else?

No response

@jyotidhiman0610 jyotidhiman0610 added the enhancement New feature or request label Sep 21, 2022
@JCZuurmond
Copy link
Collaborator

Hi @jyotidhiman0610, I am sorry I missed your issue! I updated my notifications settings to make sure this does not happen again.

Could you share an example where you use the (mocked) classes?

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

No branches or pull requests

2 participants