pytest-mock automation testing framework index.

Test More In Less Time

Run Automation Testing In Parallel On The LambdaTest Cloud

Start for free

Description

Thin-wrapper around the mock package for easier use with pytest

Support and updates

  • pytest-mock has 1403 stars, 110 forks.
  • It has 4 major releases in the past 6 months.
  • It has 6 commits and there are 0 open pull requests.
  • It has 13 open issues and 108 have been closed.

Code statistics

  • pytest-mock has 31 methods.

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

License

pytest-mock is lincensed under the MIT License

LambdaTest Community Discussions

Downloads

pytest-mock can be downloaded from it’s GitHub repository - https://github.com/pytest-dev/pytest-mock

Other similar frameworks

keyboard

Take full control of your keyboard with this small Python library. Hook global events, register hotkeys, simulate key presses and much more.

pyresttest

A Python REST testing and API

pyatom

Python Automated Testing on Mac

lettuce-tools

Set of utilities and tools to extend Lettuce framework functionality and fill missing gaps in projects

Django Test Plus

Useful additions to Django's default TestCase

Frameworks to try

Cerberus-source

The Open Source Test Automation Platform.

Hikaku

Hikaku library tests if a REST-API implementation meets its specification without having to create requests which are fired against a mock server.

Mockito

Mockito is the most popular Mocking framework for unit tests written in Java. It lets you write beautiful tests with a readable, clean and simple API.

Galen

Galen is an open-source tool for testing layout and responsive design of web applications. It is also a powerfull functional testing framework. (no image, use default java)

Atoum

The modern, simple and intuitive PHP unit testing framework.

Run pytest-mock scripts on 3000+ browsers online

Perform automation testing with pytest-mock on LambdaTest, the most powerful, fastest, and secure cloud-based platform to accelerate test execution speed.

Test Now