Python MegaMock Test Generation Assistant
By James Hutchison
The official GPT for the MegaMock library
Start using Python MegaMock Test Generation Assistant on your ChatGPT
- Why MegaMock?
- Why not just use `patch.object(MyObj, "my_func")`?
- Give an example of patching a module level function
- Create unit tests for my class
- Create unit tests for my function
- How do I use the pytest plugin?
- In pytest how do I have a session level patch?
- How do I test that a function was called with given arguments?
- How can I use the real logic of a mocked class instance?
- How can I have an exception get raised when a class property is accessed?