pytest-mongodb - pytest plugin for mocking MongoDB with fixtures

  •        95

This is a pytest plugin, that enables you to test your code that relies on a database connection to a MongoDB and expects certain data to be present. It allows you to specify fixtures for database collections in JSON/BSON or YAML format. Under the hood we use the mongomock library, that you should consult for documentation on how to use MongoDB mock objects. If suitable you can also use a real MongoDB server. Note: This project has been renamed from humongous to pytest-mongodb in order to conform to the pytest plugin naming convention and to be easier to find on the Python package index. See the migration section for more information.

https://github.com/mdomke/pytest-mongodb

Tags
Implementation
License
Platform

   




Related Projects

pytest-django - A Django plugin for pytest.

  •    Python

pytest-django allows you to test your Django project/applications with the pytest testing tool. See the pytest documentation for more information on pytest itself.

pytest-asyncio - Pytest support for asyncio.

  •    Python

pytest-asyncio is an Apache2 licensed library, written in Python, for testing asyncio code with pytest. asyncio code is usually written in the form of coroutines, which makes it slightly more difficult to test using normal testing tools. pytest-asyncio provides useful fixtures and markers to make testing easier.

pytest-cov - Coverage plugin for pytest.

  •    Python

All features offered by the coverage package should work, either through pytest-cov's command line options or through coverage's config file. pytest-cov 2.0 is using a new .pth file (pytest-cov.pth). You may want to manually remove the older init_cov_core.pth from site-packages as it's not automatically removed.

pytest-sugar - a plugin for py

  •    Python

pytest-sugar is a plugin for py.test that shows failures and errors instantly and shows a progress bar. If you are seeing gibberish, you might want to try changing charset and fonts. See this comment for more details.

pytest-xdist - pytest plugin for distributed testing and loop-on-failures testing modes.

  •    Python

Before running tests remotely, pytest efficiently "rsyncs" your program source code to the remote place. All test results are reported back and displayed to your local terminal. You may specify different Python versions and interpreters. If you would like to know how pytest-xdist works under the covers, checkout OVERVIEW.


pytest-benchmark - py.test fixture for benchmarking code

  •    Python

A py.test fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer. See calibration and FAQ. For latest release: pytest-benchmark.readthedocs.org/en/stable.

pytest - The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

  •    Python

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. Due to pytest's detailed assertion introspection, only plain assert statements are used. See getting-started for more examples.

pytest-bdd - BDD library for the py.test runner

  •    Python

pytest-bdd implements a subset of Gherkin language for the automation of the project requirements testing and easier behavioral driven development. Unlike many other BDD tools it doesn't require a separate runner and benefits from the power and flexibility of the pytest. It allows to unify your unit and functional tests, easier continuous integration server configuration and maximal reuse of the tests setup.

Pytest: testing and evaluation framework

  •    Javascript

Pytest is an open source testing and evaluation framework written in Python. It is compliant with IMS Global Learning Consortium, Inc. QTI specification and can be used as a tests editor or as a server for creating a networked testing framework.

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

  •    Python

The spy acts exactly like the original method in all cases, except it allows use of mock features with it, like retrieving call count. It also works for class and static methods. The stub is a mock object that accepts any arguments and is useful to test callbacks, for instance. May be passed a name to be used by the constructed stub object in its repr (useful for debugging).

mongodb-erlang - MongoDB driver for Erlang

  •    Erlang

This is the MongoDB driver for Erlang.Where Latest tag is the latest tag from github.

mongo-python-driver - PyMongo - the Python driver for MongoDB

  •    Python

The PyMongo distribution contains tools for interacting with MongoDB database from Python. The bson package is an implementation of the BSON format for Python. The pymongo package is a native Python driver for MongoDB. The gridfs package is a gridfs implementation on top of pymongo.For issues with, questions about, or feedback for PyMongo, please look into our support channels. Please do not email any of the PyMongo developers directly with issues or questions - you're more likely to get an answer on the mongodb-user list on Google Groups.

robomongo - Native cross-platform MongoDB management tool

  •    C++

Robo 3T (formerly Robomongo *) is a shell-centric cross-platform MongoDB management tool. Unlike most other MongoDB admin UI tools, Robo 3T embeds the actual mongo shell in a tabbed interface with access to a shell command line as well as GUI interaction.Starting from version 1.1, Robo 3T embeds the MongoDB 3.4 shell.

MongoKitten - Native MongoDB driver for Swift, written in Swift

  •    Swift

Please leave a star to show your support for the project.MongoKitten is a native, production-ready MongoDB driver written in pure Swift. It is the fastest MongoDB driver available on any platform, while providing a great Swift API that is a joy to use.

Casbah - Officially supported Scala Driver for MongoDB

  •    Scala

Casbah is an interface for MongoDB designed to provide more flexible access from both Java and Scala. The core focus is on providing a Scala oriented wrapper interface around the Java mongo driver. For the Scala side, contains series of wrappers and DSL-like functionality for utilizing MongoDB from within Scala. This currently utilises the very Java-oriented Mongo Java driver, and attempts to provide more scala-like functionality on top of it. This has been tested with MongoDB 1.2.x+ and 2.x of the Mongo java driver.

mongodb-rest - (outdated/abandoned) REST Server for MongoDB (using node.js)

  •    Javascript

This is a REST server for MongoDB using Node, using the native node.js MongoDB driver. Using Express, it can now start in any folder and will happily server any files a public folder. Installation is now via npm: npm install mongodb-rest. After that you can just issue mongodb-rest on the command line and the server should start.

adminMongo - Web based user interface (GUI) to handle all your MongoDB connections/databases needs.

  •    Javascript

adminMongo is a Web based user interface (GUI) to handle all your MongoDB connections/databases needs. It is fully responsive and should work on a range of devices.

ToroDB Stampede - Provides better analytics on top of MongoDB and make it easier to migrate from MongoDB to SQL

  •    Java

ToroDB helps to transform your NoSQL data from a MongoDB replica set into a relational database in PostgreSQL. There are other solutions that are able to store the JSON document in a relational table using PostgreSQL JSON support, but it doesn't solve the real problem of 'how to really use that data'. ToroDB Stampede replicates the document structure in different relational tables and stores the document data in different tuples using those tables.

docs - The MongoDB Documentation Project Source.

  •    Python

Visit docs/mongodb/build/html/index.html to view the current state of the documentation. See MongoDB Documentation Buildsystem for complete instructions on building the MongoDB documentation.The MongoDB Documentation Project is governed by the terms of the MongoDB Contributor Agreement.