Skip to main content

dodoo tester script

Project description

License: LGPL-3 https://badge.fury.io/py/dodoo-tester.svg

dodoo-tester is a set of useful Odoo maintenance functions. They are available as CLI scripts (based on dodoo), as well as composable python functions.

Script

Usage: dodoo-tester [OPTIONS]

  Run Odoo tests through modern pytest instead of unittest.

Options:
  --git-dir TEXT       Autodetect changed modules (through git).
  -i, --include TEXT   Force test run on those modules.
  -e, --exclude TEXT   Force excluding those modules from tests. Even if a
                       change has been detected.
  -t, --tags TEXT      Filter on those test tags.
  --logfile FILE       Specify the log file.
  -d, --database TEXT  Specify the database name. If present, this parameter
                       takes precedence over the database provided in the Odoo
                       configuration file.
  --log-level TEXT     Specify the logging level. Accepted values depend on
                       the Odoo version, and include debug, info, warn, error.
                       [default: info]
  -c, --config FILE    Specify the Odoo configuration file. Other ways to
                       provide it are with the ODOO_RC or OPENERP_SERVER
                       environment variables, or ~/.odoorc (Odoo >= 10) or
                       ~/.openerp_serverrc.
  --help               Show this message and exit.

Credits

Contributors:

Maintainer

XOE Corp. SAS

This project is maintained by XOE Corp. SAS.

Changes

Future (?)

  • who knows…

0.6.6 (2019-06-02)

  • Inbclude camptocamp pytest tool for BDD

0.6.5 (2019-05-05)

  • Simplify repo structure

  • Fix package namespace issues

0.6.0 (2019-01-24)

  • Refactor to dodoo plugin

0.5.4 (2018-12-05)

  • Add addons-path option

0.5.3 (2018-12-04)

  • Improve 0.5.2 fix: generically use bytes for py3 and str for py2 envs

0.5.2 (2018-12-04)

  • Origin refspec fix: during fetching the origin, the refspec was read and temporarliy stored. This is because we need to override narrowed CI induced refspecs in some cases. However, it was read with a newline caracter, which then was written back corrupting the git repository.

0.5.1 (2018-12-04)

  • First PyPI release

  • Module change detection fixes

  • Testing db teardown (close leaked db conections)

0.5.0 (2018-11-04)

  • Start of project

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

dodoo-tester-0.6.7.tar.gz (19.3 kB view hashes)

Uploaded Source

Built Distribution

dodoo_tester-0.6.7-py2.py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 2 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