No project description provided
Project description
Odoo Test Loop
Test your Odoo Module in a Test Loop.
There is almost no overhead, as Odoo Test Loop uses the standard Odoo unittest test suites.
Table of Contents
Features
- Watch-Mode to automatically rerun tests on file changes
- Failfast to stop testing on the first error
- Full control of Odoo Log Level
- Autoreload of the tested Module on code changes
Installation
pip install odoo-test-loop
Usage
Usage: odoo_test_loop [OPTIONS] MODULE_NAME MODULE_PATH
╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * module_name TEXT Name of the module to test [default: None] [required] │
│ * module_path TEXT Path to the module to test [default: None] [required] │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --failfast --no-failfast Stop test loop at the first failed test [default: no-failfast] │
│ --watch --no-watch Rerun tests on file changes [default: no-watch] │
│ --failed-only --no-failed-only Run only failed tests after first loop [default: failed-only] │
│ --odoo-config TEXT Path to odoo config file [default: ./config/odoo.conf] │
│ --odoo-database TEXT Odoo Database name │
│ --odoo-log-level TEXT Log Level for Odoo [default: warn] │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
License
odoo-test-loop is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
odoo_test_loop-0.0.1.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_test_loop-0.0.1.tar.gz.
File metadata
- Download URL: odoo_test_loop-0.0.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6103b5ec8deeee6fa9f1ecdcccab7c8ff7de77c036a330ba601eb18fb03a1bad
|
|
| MD5 |
ecfb9018e8d4f72397b6ce4b07c732f9
|
|
| BLAKE2b-256 |
eafc5756d359e6535a0badfa80bff196e0ed6d0e356425141dedd95ea5d82e40
|
File details
Details for the file odoo_test_loop-0.0.1-py3-none-any.whl.
File metadata
- Download URL: odoo_test_loop-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eea1edafee4b8cafc44e1abae33a68174d1c5d74cf7f033a1c422614ac73fbee
|
|
| MD5 |
ed274e0a7bff2c2add7ac6c409cb0346
|
|
| BLAKE2b-256 |
e2f3874337fe5b3377cd0c2ec39aba290e2aadf6c9344e17e4be9a8be59371c4
|