Skip to main content

A Python package to connect to MongoDB

Project description

requirements_dev.txt we use for the testing

It makes it easier to install and manage dependencies for development and testing, separate from the dependencies required for production.

difference between requirements_dev.txt and requirements.txt

requirements.txt is used to specify the dependencies required to run the production code of a Python project, while requirements_dev.txt is used to specify the dependencies required for development and testing purposes.

tox.ini

We use if for the testing in the python package testing against different version of the python

how tox works tox enviornment creation

  1. Install depedencies and packages
  2. Run commands
  3. Its a combination of the (virtualenvwrapper and makefile)
  4. It creates a .tox

pyproject.toml

it is being used for configuration the python project it is a alternative of the setup.cfg file. its containts configuration related to the build system such as the build tool used package name version author license and dependencies

setup.cfg

In summary, setup.cfg is used by setuptools to configure the packaging and installation of a Python projec

Testing python application

types of testing

  1. Automated testing
  2. Manual testing

Mode of testing

  1. Unit testing
  2. Integration tests

Testing frameworks

  1. pytest
  2. unittest
  3. robotframework
  4. selenium
  5. behave
  6. doctest

check with the code style formatting and syntax(coding standard)

  1. pylint
  2. flake8(it is best because it containt 3 library pylint pycodestyle mccabe)
  3. pycodestyle

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mongodatabaseconnnect-0.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

mongodatabaseconnnect-0.0.1-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page