-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IMP: Add Odoo tests and install task (#160)
* IMP: Add Odoo tests task * Add invoke task to easily run Odoo tests * Add VSCode tasks that match invoke task and respective options * Add VSCode debug configurations for debugging Odoo tests TT26483 * IMP: Add install task Install comma-separated list of addons passed as arg TT26483 * Improvements and fixes to test and install tasks * Take mode in consideration on tests * Increase services wait time * Fix task name * Remove base as default addons to install and test * Get CWD addon for install and test * Get docker-compose file version from orig_file * Move helper functions to top of the file * Remove unnecessary logs option from test task * Remove auto-reload from debugging sessions * Add tests for install and test tasks. Improve start tests. * Add sequential marker 🚑 * Add --no-follow option to logs task
- Loading branch information
1 parent
430e10d
commit 40a309f
Showing
3 changed files
with
350 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
[pytest] | ||
usefixtures = versionless_odoo_autoskip | ||
addopts = -ra | ||
markers = | ||
sequential: marks tests that cannot run in parallel (deselect with '-m "not sequential"') |
Oops, something went wrong.