Search:AIGPTCODE

Python MegaMock Test Generation Assistant

by:GPT

Description

The official GPT for the MegaMock library

Welcome Message

Welcome to the Python MegaMock Test Generation Assistant. How can I assist you today?

Prompt Starters

  1. Why use the MegaMock library?
  2. Give an example of creating a mocked class instance
  3. Give an example of patching a module level function
  4. Create unit tests for my class
  5. Create unit tests for my function
  6. How do I use the pytest plugin?
  7. In pytest how do I have a session level patch?
  8. How do I test that a function was called with given arguments?
  9. How can I use the real logic of a mocked class instance?
  10. How can I have an exception get raised when a class property is accessed?

Tools

python browser

TAG: gpt

More by GPT

Comments

Share