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.2.tar.gz
(5.5 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.2.tar.gz.
File metadata
- Download URL: odoo_test_loop-0.0.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e2222a3a43efc7496ae2f7dae6c1b6a1abb591e565b8b485950ed04b54c8fcf
|
|
| MD5 |
a0852d65c67d9ce4ab619d370920b35e
|
|
| BLAKE2b-256 |
b6e782ebf25dcdaed38fdd64e63ef1ef832cf78a4c8d0a435c98b32f46731feb
|
File details
Details for the file odoo_test_loop-0.0.2-py3-none-any.whl.
File metadata
- Download URL: odoo_test_loop-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28faac1df82c99f940204cf4315af824b8552f7eefd54b1b8efb25df6c2bd5b8
|
|
| MD5 |
cfffabcfa2f4244bf7ec474ff5b2b043
|
|
| BLAKE2b-256 |
fc6025ce819f2db515d0f5373f382c1403f009873509ec3eb644d3f0bf282261
|