Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMP: Add Odoo tests and install task #160

Merged
merged 7 commits into from
Nov 6, 2020
Merged

IMP: Add Odoo tests and install task #160

merged 7 commits into from
Nov 6, 2020

Conversation

joao-p-marques
Copy link
Contributor

@joao-p-marques joao-p-marques commented Oct 28, 2020

  1. Add invoke task to easily run Odoo tests. It accepts both the name of the module(s) to test, or it can detect the module you are currently working on if you pass a working directory or file. It also allows to run the tests in debug mode.
  2. Add VSCode tasks that match invoke task and respective options. A normal task automatically passes to invoke the file you are working on.
  3. Add VSCode debug configurations for debugging Odoo tests.
  4. Add invoke task to easily install Odoo modules. You can pass the name(s), or also --core, --extra or --private options to install everyting.

It would also be good to incorporate #139 here, once it is finished.

TT26483

@joao-p-marques joao-p-marques force-pushed the add-test-inv-task branch 3 times, most recently from 42af52e to cf44f25 Compare October 30, 2020 13:36
@joao-p-marques joao-p-marques changed the title IMP: Add Odoo tests task IMP: Add Odoo tests and install task Oct 30, 2020
@joao-p-marques joao-p-marques force-pushed the add-test-inv-task branch 2 times, most recently from a2278ce to d9e9a69 Compare November 2, 2020 13:06
@yajo yajo added this to the v2.5.0 milestone Nov 3, 2020
@yajo yajo added the enhancement New feature or request label Nov 3, 2020
@yajo yajo assigned yajo and joao-p-marques and unassigned yajo Nov 3, 2020
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
@joao-p-marques joao-p-marques force-pushed the add-test-inv-task branch 2 times, most recently from 8bdcd3b to ea25e1b Compare November 5, 2020 09:35
* 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
Install comma-separated list of addons passed as arg

TT26483
* 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
@joao-p-marques joao-p-marques force-pushed the add-test-inv-task branch 2 times, most recently from 47224d2 to fb02b15 Compare November 6, 2020 07:44
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
tasks.py.jinja Outdated Show resolved Hide resolved
@joao-p-marques joao-p-marques force-pushed the add-test-inv-task branch 3 times, most recently from b379b9c to e8dcb3e Compare November 6, 2020 11:13
tests/test_tasks_downstream.py Show resolved Hide resolved
@yajo yajo merged commit 40a309f into devel Nov 6, 2020
@yajo yajo deleted the add-test-inv-task branch November 6, 2020 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants