[Feature] Add examples for mocking macros
Opened this issue · 1 comments
jyotidhiman0610 commented
Is this your first time opening an issue?
- I have read the expectations for open source contributors
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
JCZuurmond commented
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?