Is there a way to execute a single test? #504
Answered
by
weinni2000
weinni2000
asked this question in
Q&A
-
I know how to execute tests: |
Beta Was this translation helpful? Give feedback.
Answered by
weinni2000
Nov 12, 2024
Replies: 2 comments
-
This is not specific of Doodba itself, but of Odoo. I think via |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
weinni2000
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, I couldn't get it to run with the command from the documentation:
docker compose run --rm odoo addons init --test --with $modules
but with
docker compose run --name doodba-odoo odoo -d devel_test3 -u base_geoengine -i base_geoengine --test-enable --log-level=test --stop-after-init --test-tags /base_geoengine:TestModel.test_create_multipolygon_geojson_format -p 8088
it worked.
But I just realized that with the vscode tooling from doodba it's just runnning "Test and debug current module" (with the testfile selected) to have full breakpoint support in vscode. -> This should be mentioned in the documentation, because it's really awesome.