diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de1bcdaffd..2592d4fbbd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -127,7 +127,10 @@ check-ci-modules: before_script: - pip install tox script: - - tox -e "py${PYTHON_VERSION/./}" -c "${PACKAGE}" -vv -- -v + - tox -e "py${PYTHON_VERSION/./}" -c "${PACKAGE}" -vv -- -v --output-file junit.xml + artifacts: + reports: + junit: ${PACKAGE}/junit.xml parallel: matrix: - PYTHON_VERSION: ["3.7", "3.8", "3.9", "3.10"] @@ -137,7 +140,7 @@ check-ci-modules: variables: DB_CACHE: /tmp/cache script: - - tox -e "py${PYTHON_VERSION/./}-${DATABASE}" -c "${PACKAGE}" -vv -- -v + - tox -e "py${PYTHON_VERSION/./}-${DATABASE}" -c "${PACKAGE}" -vv -- -v --output-file junit.xml .test-sqlite: extends: .test-db @@ -162,7 +165,7 @@ check-ci-modules: POSTGIS_URI: postgis://postgres@postgis:5432/ POSTGRES_HOST_AUTH_METHOD: trust script: - - tox -e "py${PYTHON_VERSION/./}" -c "${PACKAGE}" -vv -- -v + - tox -e "py${PYTHON_VERSION/./}" -c "${PACKAGE}" -vv -- -v --output-file junit.xml services: - name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/postgis/postgis alias: postgis @@ -182,6 +185,9 @@ check-ci-modules: - cd "${PACKAGE}" - npm -s install --cache ${NODE_CACHE_DIR} --unsafe-perm --legacy-peer-deps - npm test + artifacts: + reports: + junit: ${PACKAGE}/_build/test-reports/*.xml .trigger-doc-build: stage: build diff --git a/modules/account/tox.ini b/modules/account/tox.ini index bbc7f06e08..f2be484af9 100644 --- a/modules/account/tox.ini +++ b/modules/account/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_asset/tox.ini b/modules/account_asset/tox.ini index f29569b80d..d3414bab56 100644 --- a/modules/account_asset/tox.ini +++ b/modules/account_asset/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_asset/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_asset/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_asset/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_be/tox.ini b/modules/account_be/tox.ini index 2bcd79c4de..d2f6cdc4b7 100644 --- a/modules/account_be/tox.ini +++ b/modules/account_be/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/account_be/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_be/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_be/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_budget/tox.ini b/modules/account_budget/tox.ini index b961e005fd..e2d9bc7479 100644 --- a/modules/account_budget/tox.ini +++ b/modules/account_budget/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_budget/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_budget/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_budget/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_cash_rounding/tox.ini b/modules/account_cash_rounding/tox.ini index 075cab131e..c9f5885845 100644 --- a/modules/account_cash_rounding/tox.ini +++ b/modules/account_cash_rounding/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_cash_rounding/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_cash_rounding/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_cash_rounding/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_consolidation/tox.ini b/modules/account_consolidation/tox.ini index 3d8527332b..c7e93523bd 100644 --- a/modules/account_consolidation/tox.ini +++ b/modules/account_consolidation/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_consolidation/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_consolidation/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_consolidation/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_credit_limit/tox.ini b/modules/account_credit_limit/tox.ini index 41dadfea34..54dd0decda 100644 --- a/modules/account_credit_limit/tox.ini +++ b/modules/account_credit_limit/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_credit_limit/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_credit_limit/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_credit_limit/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_de_skr03/tox.ini b/modules/account_de_skr03/tox.ini index 4e8fba98a5..9ac9ec1777 100644 --- a/modules/account_de_skr03/tox.ini +++ b/modules/account_de_skr03/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/account_de_skr03/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_de_skr03/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_de_skr03/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_deposit/tox.ini b/modules/account_deposit/tox.ini index 2b6f0a8bee..ed0842f467 100644 --- a/modules/account_deposit/tox.ini +++ b/modules/account_deposit/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_deposit/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_deposit/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_deposit/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_dunning/tox.ini b/modules/account_dunning/tox.ini index f05dd19b46..58cddf8448 100644 --- a/modules/account_dunning/tox.ini +++ b/modules/account_dunning/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_dunning/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_dunning/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_dunning/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_dunning_email/tox.ini b/modules/account_dunning_email/tox.ini index fc8b8059c3..0ccfcf535b 100644 --- a/modules/account_dunning_email/tox.ini +++ b/modules/account_dunning_email/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_dunning_email/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_dunning_email/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_dunning_email/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_dunning_fee/tox.ini b/modules/account_dunning_fee/tox.ini index 8fd0f050c6..8132095b3a 100644 --- a/modules/account_dunning_fee/tox.ini +++ b/modules/account_dunning_fee/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_dunning_fee/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_dunning_fee/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_dunning_fee/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_dunning_letter/tox.ini b/modules/account_dunning_letter/tox.ini index b88db1d255..6a87c4b972 100644 --- a/modules/account_dunning_letter/tox.ini +++ b/modules/account_dunning_letter/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_dunning_letter/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_dunning_letter/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_dunning_letter/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_es/tox.ini b/modules/account_es/tox.ini index e8e67f1d67..0b475a9564 100644 --- a/modules/account_es/tox.ini +++ b/modules/account_es/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_es/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_es/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_es/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_es_sii/tox.ini b/modules/account_es_sii/tox.ini index 3a64b1b4e1..1719288944 100644 --- a/modules/account_es_sii/tox.ini +++ b/modules/account_es_sii/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_es_sii/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_es_sii/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_es_sii/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_eu/tox.ini b/modules/account_eu/tox.ini index a4a93bc7a6..709bd9ed22 100644 --- a/modules/account_eu/tox.ini +++ b/modules/account_eu/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_eu/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_eu/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_eu/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_fr/tox.ini b/modules/account_fr/tox.ini index c3c1451c71..c9c7298943 100644 --- a/modules/account_fr/tox.ini +++ b/modules/account_fr/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_fr/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_fr/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_fr/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_fr_chorus/tox.ini b/modules/account_fr_chorus/tox.ini index f70daa892b..31a3404f4b 100644 --- a/modules/account_fr_chorus/tox.ini +++ b/modules/account_fr_chorus/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_fr_chorus/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_fr_chorus/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_fr_chorus/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_invoice/tox.ini b/modules/account_invoice/tox.ini index 3d2eea4f65..77df9bf07f 100644 --- a/modules/account_invoice/tox.ini +++ b/modules/account_invoice/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_invoice/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_invoice/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_invoice/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_invoice_correction/tox.ini b/modules/account_invoice_correction/tox.ini index 3e383125c9..0084f2c67f 100644 --- a/modules/account_invoice_correction/tox.ini +++ b/modules/account_invoice_correction/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_invoice_correction/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_invoice_correction/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_invoice_correction/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_invoice_defer/tox.ini b/modules/account_invoice_defer/tox.ini index b8514ab241..3edc5c43f7 100644 --- a/modules/account_invoice_defer/tox.ini +++ b/modules/account_invoice_defer/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_invoice_defer/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_invoice_defer/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_invoice_defer/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_invoice_history/tox.ini b/modules/account_invoice_history/tox.ini index 13ecde7903..185af655dd 100644 --- a/modules/account_invoice_history/tox.ini +++ b/modules/account_invoice_history/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/account_invoice_history/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_invoice_history/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_invoice_history/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_invoice_line_standalone/tox.ini b/modules/account_invoice_line_standalone/tox.ini index a227e9bb77..c19ee84a0f 100644 --- a/modules/account_invoice_line_standalone/tox.ini +++ b/modules/account_invoice_line_standalone/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/account_invoice_line_standalone/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_invoice_line_standalone/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_invoice_line_standalone/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_invoice_secondary_unit/tox.ini b/modules/account_invoice_secondary_unit/tox.ini index e04c1e169d..7c791f837a 100644 --- a/modules/account_invoice_secondary_unit/tox.ini +++ b/modules/account_invoice_secondary_unit/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_invoice_secondary_unit/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_invoice_secondary_unit/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_invoice_secondary_unit/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_invoice_stock/tox.ini b/modules/account_invoice_stock/tox.ini index ebca50b3cf..2d58074d73 100644 --- a/modules/account_invoice_stock/tox.ini +++ b/modules/account_invoice_stock/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_invoice_stock/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_invoice_stock/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_invoice_stock/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_invoice_watermark/tox.ini b/modules/account_invoice_watermark/tox.ini index 3d2eea4f65..77df9bf07f 100644 --- a/modules/account_invoice_watermark/tox.ini +++ b/modules/account_invoice_watermark/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_invoice/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_invoice/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_invoice/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_move_line_grouping/tox.ini b/modules/account_move_line_grouping/tox.ini index 43d5e2f789..abda7ba559 100644 --- a/modules/account_move_line_grouping/tox.ini +++ b/modules/account_move_line_grouping/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_move_line_grouping/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_move_line_grouping/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_move_line_grouping/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_payment/tox.ini b/modules/account_payment/tox.ini index 1a2fdc35ea..ae9b36a0df 100644 --- a/modules/account_payment/tox.ini +++ b/modules/account_payment/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_payment/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_payment/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_payment/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_payment_braintree/tox.ini b/modules/account_payment_braintree/tox.ini index bbafd00b4a..2e5cc1babb 100644 --- a/modules/account_payment_braintree/tox.ini +++ b/modules/account_payment_braintree/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_payment_braintree/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_payment_braintree/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_payment_braintree/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_payment_clearing/tox.ini b/modules/account_payment_clearing/tox.ini index d2889e963e..346a4d879e 100644 --- a/modules/account_payment_clearing/tox.ini +++ b/modules/account_payment_clearing/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_payment_clearing/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_payment_clearing/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_payment_clearing/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_payment_sepa/tox.ini b/modules/account_payment_sepa/tox.ini index 66d9d1d00b..c7827f0501 100644 --- a/modules/account_payment_sepa/tox.ini +++ b/modules/account_payment_sepa/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_payment_sepa/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_payment_sepa/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_payment_sepa/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_payment_sepa_cfonb/tox.ini b/modules/account_payment_sepa_cfonb/tox.ini index 096dc1a02b..ee0db6f6b0 100644 --- a/modules/account_payment_sepa_cfonb/tox.ini +++ b/modules/account_payment_sepa_cfonb/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_payment_sepa_cfonb/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_payment_sepa_cfonb/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_payment_sepa_cfonb/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_payment_stripe/tox.ini b/modules/account_payment_stripe/tox.ini index ca94ac4451..c6f26b1413 100644 --- a/modules/account_payment_stripe/tox.ini +++ b/modules/account_payment_stripe/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_payment_stripe/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_payment_stripe/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_payment_stripe/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_product/tox.ini b/modules/account_product/tox.ini index e56f4f045f..f508460f0d 100644 --- a/modules/account_product/tox.ini +++ b/modules/account_product/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_product/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_product/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_product/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_receivable_rule/tox.ini b/modules/account_receivable_rule/tox.ini index 72035d137f..b2b6664a51 100644 --- a/modules/account_receivable_rule/tox.ini +++ b/modules/account_receivable_rule/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_receivable_rule/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_receivable_rule/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_receivable_rule/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_rule/tox.ini b/modules/account_rule/tox.ini index 243b53eab0..2478c56afa 100644 --- a/modules/account_rule/tox.ini +++ b/modules/account_rule/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_rule/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_rule/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_rule/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_statement/tox.ini b/modules/account_statement/tox.ini index 6d0274addf..3d7d16feac 100644 --- a/modules/account_statement/tox.ini +++ b/modules/account_statement/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_statement/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_statement/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_statement/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_statement_aeb43/tox.ini b/modules/account_statement_aeb43/tox.ini index de7358fabb..eb72184fd8 100644 --- a/modules/account_statement_aeb43/tox.ini +++ b/modules/account_statement_aeb43/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_statement_aeb43/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_statement_aeb43/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_statement_aeb43/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_statement_coda/tox.ini b/modules/account_statement_coda/tox.ini index 70553d0dec..61da6e526f 100644 --- a/modules/account_statement_coda/tox.ini +++ b/modules/account_statement_coda/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_statement_coda/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_statement_coda/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_statement_coda/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_statement_ofx/tox.ini b/modules/account_statement_ofx/tox.ini index b5ee44718c..914c157461 100644 --- a/modules/account_statement_ofx/tox.ini +++ b/modules/account_statement_ofx/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_statement_ofx/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_statement_ofx/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_statement_ofx/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_statement_rule/tox.ini b/modules/account_statement_rule/tox.ini index 4af80be054..38434bbf93 100644 --- a/modules/account_statement_rule/tox.ini +++ b/modules/account_statement_rule/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_statement_rule/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_statement_rule/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_statement_rule/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_statement_sepa/tox.ini b/modules/account_statement_sepa/tox.ini index e1a223e8cb..1fe0c395e2 100644 --- a/modules/account_statement_sepa/tox.ini +++ b/modules/account_statement_sepa/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_statement_sepa/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_statement_sepa/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_statement_sepa/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_stock_anglo_saxon/tox.ini b/modules/account_stock_anglo_saxon/tox.ini index 3c61ece205..0c78274bd3 100644 --- a/modules/account_stock_anglo_saxon/tox.ini +++ b/modules/account_stock_anglo_saxon/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_stock_anglo_saxon/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_stock_anglo_saxon/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_stock_anglo_saxon/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_stock_continental/tox.ini b/modules/account_stock_continental/tox.ini index c0527a1fee..e8d29e1822 100644 --- a/modules/account_stock_continental/tox.ini +++ b/modules/account_stock_continental/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_stock_continental/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_stock_continental/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_stock_continental/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_stock_landed_cost/tox.ini b/modules/account_stock_landed_cost/tox.ini index 86028c3108..1d1237671e 100644 --- a/modules/account_stock_landed_cost/tox.ini +++ b/modules/account_stock_landed_cost/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_stock_landed_cost/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_stock_landed_cost/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_stock_landed_cost/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_stock_landed_cost_weight/tox.ini b/modules/account_stock_landed_cost_weight/tox.ini index 5b03e5cf6f..bdfebe722c 100644 --- a/modules/account_stock_landed_cost_weight/tox.ini +++ b/modules/account_stock_landed_cost_weight/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_stock_landed_cost_weight/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_stock_landed_cost_weight/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_stock_landed_cost_weight/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_stock_shipment_cost/tox.ini b/modules/account_stock_shipment_cost/tox.ini index 253691a1c1..072f8819a4 100644 --- a/modules/account_stock_shipment_cost/tox.ini +++ b/modules/account_stock_shipment_cost/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_stock_shipment_cost/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_stock_shipment_cost/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_stock_shipment_cost/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_stock_shipment_cost_weight/tox.ini b/modules/account_stock_shipment_cost_weight/tox.ini index 340e623d34..a9f47656e0 100644 --- a/modules/account_stock_shipment_cost_weight/tox.ini +++ b/modules/account_stock_shipment_cost_weight/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_stock_shipment_cost_weight/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_stock_shipment_cost_weight/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_stock_shipment_cost_weight/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_tax_cash/tox.ini b/modules/account_tax_cash/tox.ini index c82916d4a6..70c5f3272d 100644 --- a/modules/account_tax_cash/tox.ini +++ b/modules/account_tax_cash/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_tax_cash/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_tax_cash/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_tax_cash/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_tax_non_deductible/tox.ini b/modules/account_tax_non_deductible/tox.ini index bbc7f06e08..f2be484af9 100644 --- a/modules/account_tax_non_deductible/tox.ini +++ b/modules/account_tax_non_deductible/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/account_tax_rule_country/tox.ini b/modules/account_tax_rule_country/tox.ini index 89aa1dba29..e3b9523b99 100644 --- a/modules/account_tax_rule_country/tox.ini +++ b/modules/account_tax_rule_country/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/account_tax_rule_country/* -m unittest discover -s tests {posargs} + coverage run --include=./**/account_tax_rule_country/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/account_tax_rule_country/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/analytic_account/tox.ini b/modules/analytic_account/tox.ini index d4abcf301d..7d15284930 100644 --- a/modules/analytic_account/tox.ini +++ b/modules/analytic_account/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/analytic_account/* -m unittest discover -s tests {posargs} + coverage run --include=./**/analytic_account/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/analytic_account/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/analytic_budget/tox.ini b/modules/analytic_budget/tox.ini index d61df56db2..f1a46d766f 100644 --- a/modules/analytic_budget/tox.ini +++ b/modules/analytic_budget/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/analytic_budget/* -m unittest discover -s tests {posargs} + coverage run --include=./**/analytic_budget/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/analytic_budget/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/analytic_invoice/tox.ini b/modules/analytic_invoice/tox.ini index fbc6774eca..a1a0747da3 100644 --- a/modules/analytic_invoice/tox.ini +++ b/modules/analytic_invoice/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/analytic_invoice/* -m unittest discover -s tests {posargs} + coverage run --include=./**/analytic_invoice/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/analytic_invoice/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/analytic_purchase/tox.ini b/modules/analytic_purchase/tox.ini index 12ab2a0b4c..71aae49daa 100644 --- a/modules/analytic_purchase/tox.ini +++ b/modules/analytic_purchase/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/analytic_purchase/* -m unittest discover -s tests {posargs} + coverage run --include=./**/analytic_purchase/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/analytic_purchase/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/analytic_sale/tox.ini b/modules/analytic_sale/tox.ini index f81cef59ae..bec3e9d994 100644 --- a/modules/analytic_sale/tox.ini +++ b/modules/analytic_sale/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/analytic_sale/* -m unittest discover -s tests {posargs} + coverage run --include=./**/analytic_sale/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/analytic_sale/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/attendance/tox.ini b/modules/attendance/tox.ini index 243acba532..5da7057b48 100644 --- a/modules/attendance/tox.ini +++ b/modules/attendance/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/attendance/* -m unittest discover -s tests {posargs} + coverage run --include=./**/attendance/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/attendance/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/authentication_saml/tox.ini b/modules/authentication_saml/tox.ini index b8ada5f15d..9c467b21b2 100644 --- a/modules/authentication_saml/tox.ini +++ b/modules/authentication_saml/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/authentication_saml/* -m unittest discover -s tests {posargs} + coverage run --include=./**/authentication_saml/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/authentication_saml/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/authentication_sms/tox.ini b/modules/authentication_sms/tox.ini index 16459cfa38..b2c00c9c7c 100644 --- a/modules/authentication_sms/tox.ini +++ b/modules/authentication_sms/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/authentication_sms/* -m unittest discover -s tests {posargs} + coverage run --include=./**/authentication_sms/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/authentication_sms/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/bank/tox.ini b/modules/bank/tox.ini index dfcf163d9c..4f497c318f 100644 --- a/modules/bank/tox.ini +++ b/modules/bank/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/bank/* -m unittest discover -s tests {posargs} + coverage run --include=./**/bank/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/bank/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/carrier/tox.ini b/modules/carrier/tox.ini index fecc7e9e84..258782cf78 100644 --- a/modules/carrier/tox.ini +++ b/modules/carrier/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/carrier/* -m unittest discover -s tests {posargs} + coverage run --include=./**/carrier/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/carrier/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/carrier_carriage/tox.ini b/modules/carrier_carriage/tox.ini index 6f688a52a9..7e7ee851fd 100644 --- a/modules/carrier_carriage/tox.ini +++ b/modules/carrier_carriage/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/carrier_carriage/* -m unittest discover -s tests {posargs} + coverage run --include=./**/carrier_carriage/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/carrier_carriage/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/carrier_percentage/tox.ini b/modules/carrier_percentage/tox.ini index be13b73bfa..7567bd4b84 100644 --- a/modules/carrier_percentage/tox.ini +++ b/modules/carrier_percentage/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/carrier_percentage/* -m unittest discover -s tests {posargs} + coverage run --include=./**/carrier_percentage/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/carrier_percentage/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/carrier_subdivision/tox.ini b/modules/carrier_subdivision/tox.ini index 7e012096f9..091d246711 100644 --- a/modules/carrier_subdivision/tox.ini +++ b/modules/carrier_subdivision/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/carrier_subdivision/* -m unittest discover -s tests {posargs} + coverage run --include=./**/carrier_subdivision/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/carrier_subdivision/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/carrier_weight/tox.ini b/modules/carrier_weight/tox.ini index 44d77052b5..295e97cb5e 100644 --- a/modules/carrier_weight/tox.ini +++ b/modules/carrier_weight/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/carrier_weight/* -m unittest discover -s tests {posargs} + coverage run --include=./**/carrier_weight/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/carrier_weight/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/commission/tox.ini b/modules/commission/tox.ini index c8eab13842..abc4b6317f 100644 --- a/modules/commission/tox.ini +++ b/modules/commission/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/commission/* -m unittest discover -s tests {posargs} + coverage run --include=./**/commission/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/commission/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/commission_waiting/tox.ini b/modules/commission_waiting/tox.ini index e96be788eb..df73e47e43 100644 --- a/modules/commission_waiting/tox.ini +++ b/modules/commission_waiting/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/commission_waiting/* -m unittest discover -s tests {posargs} + coverage run --include=./**/commission_waiting/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/commission_waiting/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/company/tox.ini b/modules/company/tox.ini index 8072a8b582..8269de9e90 100644 --- a/modules/company/tox.ini +++ b/modules/company/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/company/* -m unittest discover -s tests {posargs} + coverage run --include=./**/company/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/company/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/company_work_time/tox.ini b/modules/company_work_time/tox.ini index 43eec2fc79..687e8e652d 100644 --- a/modules/company_work_time/tox.ini +++ b/modules/company_work_time/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/company_work_time/* -m unittest discover -s tests {posargs} + coverage run --include=./**/company_work_time/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/company_work_time/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/country/tox.ini b/modules/country/tox.ini index 8e51631781..330a795479 100644 --- a/modules/country/tox.ini +++ b/modules/country/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/country/* -m unittest discover -s tests {posargs} + coverage run --include=./**/country/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/country/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/currency/tox.ini b/modules/currency/tox.ini index 04b0bc1678..704f12ae26 100644 --- a/modules/currency/tox.ini +++ b/modules/currency/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/currency/* -m unittest discover -s tests {posargs} + coverage run --include=./**/currency/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/currency/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/currency_ro/tox.ini b/modules/currency_ro/tox.ini index 67481a21d0..20acf75b75 100644 --- a/modules/currency_ro/tox.ini +++ b/modules/currency_ro/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/currency_ro/* -m unittest discover -s tests {posargs} + coverage run --include=./**/currency_ro/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/currency_ro/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/currency_rs/tox.ini b/modules/currency_rs/tox.ini index 42f75a950b..ac6a48e1d8 100644 --- a/modules/currency_rs/tox.ini +++ b/modules/currency_rs/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/currency_rs/* -m unittest discover -s tests {posargs} + coverage run --include=./**/currency_rs/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/currency_rs/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/customs/tox.ini b/modules/customs/tox.ini index 36938e4607..9a3a04a1e2 100644 --- a/modules/customs/tox.ini +++ b/modules/customs/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/customs/* -m unittest discover -s tests {posargs} + coverage run --include=./**/customs/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/customs/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/dashboard/tox.ini b/modules/dashboard/tox.ini index a960cc50ec..7592dd6be8 100644 --- a/modules/dashboard/tox.ini +++ b/modules/dashboard/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/dashboard/* -m unittest discover -s tests {posargs} + coverage run --include=./**/dashboard/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/dashboard/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/edocument_uncefact/tox.ini b/modules/edocument_uncefact/tox.ini index 77e19e6d69..c008148c9d 100644 --- a/modules/edocument_uncefact/tox.ini +++ b/modules/edocument_uncefact/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/edocument_uncefact/* -m unittest discover -s tests {posargs} + coverage run --include=./**/edocument_uncefact/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/edocument_uncefact/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/edocument_unece/tox.ini b/modules/edocument_unece/tox.ini index df4fe77a5c..7f22fdbe97 100644 --- a/modules/edocument_unece/tox.ini +++ b/modules/edocument_unece/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/edocument_unece/* -m unittest discover -s tests {posargs} + coverage run --include=./**/edocument_unece/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/edocument_unece/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/google_maps/tox.ini b/modules/google_maps/tox.ini index feef2436e4..82a00a79bb 100644 --- a/modules/google_maps/tox.ini +++ b/modules/google_maps/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/google_maps/* -m unittest discover -s tests {posargs} + coverage run --include=./**/google_maps/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/google_maps/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/incoterm/tox.ini b/modules/incoterm/tox.ini index 73e78f07bd..d43bfdb11f 100644 --- a/modules/incoterm/tox.ini +++ b/modules/incoterm/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/incoterm/* -m unittest discover -s tests {posargs} + coverage run --include=./**/incoterm/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/incoterm/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/ldap_authentication/tox.ini b/modules/ldap_authentication/tox.ini index 25ab5d7788..6cf5044f32 100644 --- a/modules/ldap_authentication/tox.ini +++ b/modules/ldap_authentication/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/ldap_authentication/* -m unittest discover -s tests {posargs} + coverage run --include=./**/ldap_authentication/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/ldap_authentication/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/marketing/tox.ini b/modules/marketing/tox.ini index 3aafe70a31..b707f73d4b 100644 --- a/modules/marketing/tox.ini +++ b/modules/marketing/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/marketing/* -m unittest discover -s tests {posargs} + coverage run --include=./**/marketing/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/marketing/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/marketing_automation/tox.ini b/modules/marketing_automation/tox.ini index 763ad86ec7..ba8c7d96e2 100644 --- a/modules/marketing_automation/tox.ini +++ b/modules/marketing_automation/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/marketing_automation/* -m unittest discover -s tests {posargs} + coverage run --include=./**/marketing_automation/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/marketing_automation/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/marketing_campaign/tox.ini b/modules/marketing_campaign/tox.ini index 3692490b78..b785b4d10b 100644 --- a/modules/marketing_campaign/tox.ini +++ b/modules/marketing_campaign/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/marketing_campaign/* -m unittest discover -s tests {posargs} + coverage run --include=./**/marketing_campaign/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/marketing_campaign/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/marketing_email/tox.ini b/modules/marketing_email/tox.ini index ecc914c176..7cbe76f1a5 100644 --- a/modules/marketing_email/tox.ini +++ b/modules/marketing_email/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/marketing_email/* -m unittest discover -s tests {posargs} + coverage run --include=./**/marketing_email/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/marketing_email/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/notification_email/tox.ini b/modules/notification_email/tox.ini index 61f7e8fb0c..e70186e1a5 100644 --- a/modules/notification_email/tox.ini +++ b/modules/notification_email/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/notification_email/* -m unittest discover -s tests {posargs} + coverage run --include=./**/notification_email/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/notification_email/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/party/tox.ini b/modules/party/tox.ini index c83621347e..5d5fca5e56 100644 --- a/modules/party/tox.ini +++ b/modules/party/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/party/* -m unittest discover -s tests {posargs} + coverage run --include=./**/party/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/party/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/party_avatar/tox.ini b/modules/party_avatar/tox.ini index 6c58ffa556..22b6464452 100644 --- a/modules/party_avatar/tox.ini +++ b/modules/party_avatar/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/party_avatar/* -m unittest discover -s tests {posargs} + coverage run --include=./**/party_avatar/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/party_avatar/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/party_relationship/tox.ini b/modules/party_relationship/tox.ini index c1c6f55785..cae9e8f300 100644 --- a/modules/party_relationship/tox.ini +++ b/modules/party_relationship/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/party_relationship/* -m unittest discover -s tests {posargs} + coverage run --include=./**/party_relationship/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/party_relationship/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/party_siret/tox.ini b/modules/party_siret/tox.ini index 6f0dd78ed4..6a4b9ef9af 100644 --- a/modules/party_siret/tox.ini +++ b/modules/party_siret/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/party_siret/* -m unittest discover -s tests {posargs} + coverage run --include=./**/party_siret/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/party_siret/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product/tox.ini b/modules/product/tox.ini index 7212fb78d3..4ae6eb2b57 100644 --- a/modules/product/tox.ini +++ b/modules/product/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/product/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_attribute/tox.ini b/modules/product_attribute/tox.ini index 2f294fe4e5..d729fc71d2 100644 --- a/modules/product_attribute/tox.ini +++ b/modules/product_attribute/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/product_attribute/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_attribute/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_attribute/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_classification/tox.ini b/modules/product_classification/tox.ini index d777bce673..d045839406 100644 --- a/modules/product_classification/tox.ini +++ b/modules/product_classification/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/product_classification/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_classification/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_classification/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_classification_taxonomic/tox.ini b/modules/product_classification_taxonomic/tox.ini index 905f1e5fe6..746c9f376b 100644 --- a/modules/product_classification_taxonomic/tox.ini +++ b/modules/product_classification_taxonomic/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/product_classification_taxonomic/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_classification_taxonomic/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_classification_taxonomic/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_cost_fifo/tox.ini b/modules/product_cost_fifo/tox.ini index a7e4a3d64a..2c71584e3f 100644 --- a/modules/product_cost_fifo/tox.ini +++ b/modules/product_cost_fifo/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/product_cost_fifo/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_cost_fifo/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_cost_fifo/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_cost_history/tox.ini b/modules/product_cost_history/tox.ini index b2bdb5cfe5..a0629e6dfe 100644 --- a/modules/product_cost_history/tox.ini +++ b/modules/product_cost_history/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/product_cost_history/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_cost_history/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_cost_history/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_cost_warehouse/tox.ini b/modules/product_cost_warehouse/tox.ini index 998dc4cc85..03133af1db 100644 --- a/modules/product_cost_warehouse/tox.ini +++ b/modules/product_cost_warehouse/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/product_cost_warehouse/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_cost_warehouse/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_cost_warehouse/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_image/tox.ini b/modules/product_image/tox.ini index 50c236f5cc..dc00790e35 100644 --- a/modules/product_image/tox.ini +++ b/modules/product_image/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/product_image/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_image/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_image/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_image_attribute/tox.ini b/modules/product_image_attribute/tox.ini index 75efd3593b..f5ce78b5d5 100644 --- a/modules/product_image_attribute/tox.ini +++ b/modules/product_image_attribute/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/product_image_attribute/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_image_attribute/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_image_attribute/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_kit/tox.ini b/modules/product_kit/tox.ini index 1f6b865a95..7dbd3d8391 100644 --- a/modules/product_kit/tox.ini +++ b/modules/product_kit/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/product_kit/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_kit/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_kit/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_measurements/tox.ini b/modules/product_measurements/tox.ini index f7406e5a2c..b62661fa54 100644 --- a/modules/product_measurements/tox.ini +++ b/modules/product_measurements/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/product_measurements/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_measurements/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_measurements/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_price_list/tox.ini b/modules/product_price_list/tox.ini index c7c14135a3..d15248c38d 100644 --- a/modules/product_price_list/tox.ini +++ b/modules/product_price_list/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/product_price_list/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_price_list/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_price_list/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_price_list_dates/tox.ini b/modules/product_price_list_dates/tox.ini index ba28b3ba29..ef95e490e2 100644 --- a/modules/product_price_list_dates/tox.ini +++ b/modules/product_price_list_dates/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/product_price_list_dates/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_price_list_dates/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_price_list_dates/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/product_price_list_parent/tox.ini b/modules/product_price_list_parent/tox.ini index 6eec92e3c5..4c5bd2f28a 100644 --- a/modules/product_price_list_parent/tox.ini +++ b/modules/product_price_list_parent/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/product_price_list_parent/* -m unittest discover -s tests {posargs} + coverage run --include=./**/product_price_list_parent/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/product_price_list_parent/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/production/tox.ini b/modules/production/tox.ini index 16676e2368..f9648a8cac 100644 --- a/modules/production/tox.ini +++ b/modules/production/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/production/* -m unittest discover -s tests {posargs} + coverage run --include=./**/production/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/production/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/production_outsourcing/tox.ini b/modules/production_outsourcing/tox.ini index 010858c83f..1fbf924ac3 100644 --- a/modules/production_outsourcing/tox.ini +++ b/modules/production_outsourcing/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/production_outsourcing/* -m unittest discover -s tests {posargs} + coverage run --include=./**/production_outsourcing/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/production_outsourcing/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/production_routing/tox.ini b/modules/production_routing/tox.ini index c8ec325b3d..1207d9a458 100644 --- a/modules/production_routing/tox.ini +++ b/modules/production_routing/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/production_routing/* -m unittest discover -s tests {posargs} + coverage run --include=./**/production_routing/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/production_routing/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/production_split/tox.ini b/modules/production_split/tox.ini index 3b17bdbdb2..db3a37336a 100644 --- a/modules/production_split/tox.ini +++ b/modules/production_split/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/production_split/* -m unittest discover -s tests {posargs} + coverage run --include=./**/production_split/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/production_split/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/production_work/tox.ini b/modules/production_work/tox.ini index 22899fbf15..d882d4664f 100644 --- a/modules/production_work/tox.ini +++ b/modules/production_work/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/production_work/* -m unittest discover -s tests {posargs} + coverage run --include=./**/production_work/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/production_work/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/production_work_timesheet/tox.ini b/modules/production_work_timesheet/tox.ini index 5f0d7a0006..89e1294b55 100644 --- a/modules/production_work_timesheet/tox.ini +++ b/modules/production_work_timesheet/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/production_work_timesheet/* -m unittest discover -s tests {posargs} + coverage run --include=./**/production_work_timesheet/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/production_work_timesheet/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/project/tox.ini b/modules/project/tox.ini index a1f274fe0b..4ad3afde66 100644 --- a/modules/project/tox.ini +++ b/modules/project/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/project/* -m unittest discover -s tests {posargs} + coverage run --include=./**/project/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/project/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/project_invoice/tox.ini b/modules/project_invoice/tox.ini index 042c66545f..e504b9a623 100644 --- a/modules/project_invoice/tox.ini +++ b/modules/project_invoice/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/project_invoice/* -m unittest discover -s tests {posargs} + coverage run --include=./**/project_invoice/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/project_invoice/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/project_plan/tox.ini b/modules/project_plan/tox.ini index 6e6df68310..89302c1c9c 100644 --- a/modules/project_plan/tox.ini +++ b/modules/project_plan/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/project_plan/* -m unittest discover -s tests {posargs} + coverage run --include=./**/project_plan/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/project_plan/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/project_revenue/tox.ini b/modules/project_revenue/tox.ini index e003b924bf..3e85b410ef 100644 --- a/modules/project_revenue/tox.ini +++ b/modules/project_revenue/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/project_revenue/* -m unittest discover -s tests {posargs} + coverage run --include=./**/project_revenue/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/project_revenue/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase/tox.ini b/modules/purchase/tox.ini index cb402d8bbe..cb6e76eca3 100644 --- a/modules/purchase/tox.ini +++ b/modules/purchase/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_amendment/tox.ini b/modules/purchase_amendment/tox.ini index c32e3aeb92..4d230ee6b6 100644 --- a/modules/purchase_amendment/tox.ini +++ b/modules/purchase_amendment/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_amendment/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_amendment/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_amendment/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_blanket_agreement/tox.ini b/modules/purchase_blanket_agreement/tox.ini index 8aac7b7426..359bf61f41 100644 --- a/modules/purchase_blanket_agreement/tox.ini +++ b/modules/purchase_blanket_agreement/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_blanket_agreement/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_blanket_agreement/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_blanket_agreement/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_history/tox.ini b/modules/purchase_history/tox.ini index fe9c636c1a..1cd6e783a2 100644 --- a/modules/purchase_history/tox.ini +++ b/modules/purchase_history/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_history/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_history/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_history/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_invoice_line_standalone/tox.ini b/modules/purchase_invoice_line_standalone/tox.ini index 0a085cdd4a..a44efb7b06 100644 --- a/modules/purchase_invoice_line_standalone/tox.ini +++ b/modules/purchase_invoice_line_standalone/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_invoice_line_standalone/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_invoice_line_standalone/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_invoice_line_standalone/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_price_list/tox.ini b/modules/purchase_price_list/tox.ini index 72a3d21cee..84baa767bb 100644 --- a/modules/purchase_price_list/tox.ini +++ b/modules/purchase_price_list/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_price_list/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_price_list/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_price_list/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_product_quantity/tox.ini b/modules/purchase_product_quantity/tox.ini index f9f9ab15d6..6e7f03d956 100644 --- a/modules/purchase_product_quantity/tox.ini +++ b/modules/purchase_product_quantity/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_product_quantity/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_product_quantity/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_product_quantity/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_request/tox.ini b/modules/purchase_request/tox.ini index a4e853c8af..ac5a4a9cb3 100644 --- a/modules/purchase_request/tox.ini +++ b/modules/purchase_request/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_request/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_request/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_request/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_request_quotation/tox.ini b/modules/purchase_request_quotation/tox.ini index 6135811cf9..484abd78f6 100644 --- a/modules/purchase_request_quotation/tox.ini +++ b/modules/purchase_request_quotation/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_request_quotation/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_request_quotation/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_request_quotation/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_requisition/tox.ini b/modules/purchase_requisition/tox.ini index 233c91776a..99cc1c28bd 100644 --- a/modules/purchase_requisition/tox.ini +++ b/modules/purchase_requisition/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_requisition/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_requisition/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_requisition/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_secondary_unit/tox.ini b/modules/purchase_secondary_unit/tox.ini index 6f9523b84e..9ffb52432f 100644 --- a/modules/purchase_secondary_unit/tox.ini +++ b/modules/purchase_secondary_unit/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_secondary_unit/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_secondary_unit/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_secondary_unit/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/purchase_shipment_cost/tox.ini b/modules/purchase_shipment_cost/tox.ini index dc7caa5d9d..a105e590ba 100644 --- a/modules/purchase_shipment_cost/tox.ini +++ b/modules/purchase_shipment_cost/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/purchase_shipment_cost/* -m unittest discover -s tests {posargs} + coverage run --include=./**/purchase_shipment_cost/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/purchase_shipment_cost/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale/tox.ini b/modules/sale/tox.ini index 72e6694562..b735ac33ba 100644 --- a/modules/sale/tox.ini +++ b/modules/sale/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_advance_payment/tox.ini b/modules/sale_advance_payment/tox.ini index f357c3477b..9812aa5b31 100644 --- a/modules/sale_advance_payment/tox.ini +++ b/modules/sale_advance_payment/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_advance_payment/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_advance_payment/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_advance_payment/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_amendment/tox.ini b/modules/sale_amendment/tox.ini index 117f94a17d..ae2c01b0f2 100644 --- a/modules/sale_amendment/tox.ini +++ b/modules/sale_amendment/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_amendment/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_amendment/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_amendment/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_blanket_agreement/tox.ini b/modules/sale_blanket_agreement/tox.ini index b042a6b888..180037a999 100644 --- a/modules/sale_blanket_agreement/tox.ini +++ b/modules/sale_blanket_agreement/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_blanket_agreement/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_blanket_agreement/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_blanket_agreement/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_complaint/tox.ini b/modules/sale_complaint/tox.ini index 74145dadd6..2b72a2387e 100644 --- a/modules/sale_complaint/tox.ini +++ b/modules/sale_complaint/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_complaint/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_complaint/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_complaint/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_credit_limit/tox.ini b/modules/sale_credit_limit/tox.ini index 257ec92c32..21ed43bdfa 100644 --- a/modules/sale_credit_limit/tox.ini +++ b/modules/sale_credit_limit/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/sale_credit_limit/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_credit_limit/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_credit_limit/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_discount/tox.ini b/modules/sale_discount/tox.ini index e5fc7395e6..404e5513b3 100644 --- a/modules/sale_discount/tox.ini +++ b/modules/sale_discount/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_discount/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_discount/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_discount/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_extra/tox.ini b/modules/sale_extra/tox.ini index 550fec71ce..9ab19bacca 100644 --- a/modules/sale_extra/tox.ini +++ b/modules/sale_extra/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_extra/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_extra/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_extra/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_gift_card/tox.ini b/modules/sale_gift_card/tox.ini index 08378489f8..047857ea2a 100644 --- a/modules/sale_gift_card/tox.ini +++ b/modules/sale_gift_card/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_gift_card/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_gift_card/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_gift_card/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_history/tox.ini b/modules/sale_history/tox.ini index 8872183ff5..c49a14d35a 100644 --- a/modules/sale_history/tox.ini +++ b/modules/sale_history/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_history/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_history/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_history/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_invoice_date/tox.ini b/modules/sale_invoice_date/tox.ini index 72e6694562..b735ac33ba 100644 --- a/modules/sale_invoice_date/tox.ini +++ b/modules/sale_invoice_date/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_invoice_grouping/tox.ini b/modules/sale_invoice_grouping/tox.ini index a9165a5c00..9ebd6d329d 100644 --- a/modules/sale_invoice_grouping/tox.ini +++ b/modules/sale_invoice_grouping/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_invoice_grouping/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_invoice_grouping/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_invoice_grouping/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_opportunity/tox.ini b/modules/sale_opportunity/tox.ini index 8515a50fa2..b2f2721dd4 100644 --- a/modules/sale_opportunity/tox.ini +++ b/modules/sale_opportunity/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_opportunity/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_opportunity/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_opportunity/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_payment/tox.ini b/modules/sale_payment/tox.ini index 50e99e0628..14d784dde3 100644 --- a/modules/sale_payment/tox.ini +++ b/modules/sale_payment/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_payment/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_payment/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_payment/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_point/tox.ini b/modules/sale_point/tox.ini index fe55a0c0b2..e3746a8283 100644 --- a/modules/sale_point/tox.ini +++ b/modules/sale_point/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_point/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_point/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_point/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_price_list/tox.ini b/modules/sale_price_list/tox.ini index b9cf6b7670..748c50c9e3 100644 --- a/modules/sale_price_list/tox.ini +++ b/modules/sale_price_list/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_price_list/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_price_list/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_price_list/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_product_customer/tox.ini b/modules/sale_product_customer/tox.ini index f5759f4d50..5203afc5a8 100644 --- a/modules/sale_product_customer/tox.ini +++ b/modules/sale_product_customer/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_product_customer/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_product_customer/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_product_customer/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_product_quantity/tox.ini b/modules/sale_product_quantity/tox.ini index e0e60b6d14..b25ed23914 100644 --- a/modules/sale_product_quantity/tox.ini +++ b/modules/sale_product_quantity/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_product_quantity/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_product_quantity/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_product_quantity/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_product_recommendation/tox.ini b/modules/sale_product_recommendation/tox.ini index d8e7791b88..462f496b07 100644 --- a/modules/sale_product_recommendation/tox.ini +++ b/modules/sale_product_recommendation/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_product_recommendation/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_product_recommendation/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_product_recommendation/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_product_recommendation_association_rule/tox.ini b/modules/sale_product_recommendation_association_rule/tox.ini index 2b16bd14af..f90d1e0202 100644 --- a/modules/sale_product_recommendation_association_rule/tox.ini +++ b/modules/sale_product_recommendation_association_rule/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_product_recommendation_association_rule/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_product_recommendation_association_rule/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_product_recommendation_association_rule/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_promotion/tox.ini b/modules/sale_promotion/tox.ini index 3d3f15c880..3b06cc25cb 100644 --- a/modules/sale_promotion/tox.ini +++ b/modules/sale_promotion/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_promotion/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_promotion/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_promotion/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_promotion_coupon/tox.ini b/modules/sale_promotion_coupon/tox.ini index 23fd40ba56..b72a0df2f0 100644 --- a/modules/sale_promotion_coupon/tox.ini +++ b/modules/sale_promotion_coupon/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_promotion_coupon/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_promotion_coupon/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_promotion_coupon/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_promotion_coupon_payment/tox.ini b/modules/sale_promotion_coupon_payment/tox.ini index 9ca8cdcdbc..8a038422eb 100644 --- a/modules/sale_promotion_coupon_payment/tox.ini +++ b/modules/sale_promotion_coupon_payment/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql},pypy3-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_promotion_coupon_payment/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_promotion_coupon_payment/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_promotion_coupon_payment/* --omit=*/tests/* deps = coverage + unittest-xml-reporting {py37,py38,py39,py310}-postgresql: psycopg2 >= 2.5 pypy3-postgresql: psycopg2cffi >= 2.5 setenv = diff --git a/modules/sale_secondary_unit/tox.ini b/modules/sale_secondary_unit/tox.ini index c912cf55ad..dfd84d56a0 100644 --- a/modules/sale_secondary_unit/tox.ini +++ b/modules/sale_secondary_unit/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_secondary_unit/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_secondary_unit/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_secondary_unit/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_shipment_cost/tox.ini b/modules/sale_shipment_cost/tox.ini index f792e0cd88..697e656c28 100644 --- a/modules/sale_shipment_cost/tox.ini +++ b/modules/sale_shipment_cost/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_shipment_cost/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_shipment_cost/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_shipment_cost/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_shipment_grouping/tox.ini b/modules/sale_shipment_grouping/tox.ini index 11cbd46efd..b11b490ce8 100644 --- a/modules/sale_shipment_grouping/tox.ini +++ b/modules/sale_shipment_grouping/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_shipment_grouping/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_shipment_grouping/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_shipment_grouping/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_shipment_tolerance/tox.ini b/modules/sale_shipment_tolerance/tox.ini index 3f956d3fbb..3a651a26d2 100644 --- a/modules/sale_shipment_tolerance/tox.ini +++ b/modules/sale_shipment_tolerance/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_shipment_tolerance/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_shipment_tolerance/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_shipment_tolerance/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_stock_quantity/tox.ini b/modules/sale_stock_quantity/tox.ini index c9383f00a4..d0b9ded4cf 100644 --- a/modules/sale_stock_quantity/tox.ini +++ b/modules/sale_stock_quantity/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_stock_quantity/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_stock_quantity/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_stock_quantity/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_subscription/tox.ini b/modules/sale_subscription/tox.ini index a84744cf74..07fee8289a 100644 --- a/modules/sale_subscription/tox.ini +++ b/modules/sale_subscription/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_subscription/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_subscription/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_subscription/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_subscription_asset/tox.ini b/modules/sale_subscription_asset/tox.ini index 5236488dec..254a0e6941 100644 --- a/modules/sale_subscription_asset/tox.ini +++ b/modules/sale_subscription_asset/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_subscription_asset/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_subscription_asset/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_subscription_asset/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_supply/tox.ini b/modules/sale_supply/tox.ini index e6ad5e73a7..524e8fc677 100644 --- a/modules/sale_supply/tox.ini +++ b/modules/sale_supply/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_supply/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_supply/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_supply/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_supply_drop_shipment/tox.ini b/modules/sale_supply_drop_shipment/tox.ini index 8ea44e0dfe..8560c32116 100644 --- a/modules/sale_supply_drop_shipment/tox.ini +++ b/modules/sale_supply_drop_shipment/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_supply_drop_shipment/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_supply_drop_shipment/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_supply_drop_shipment/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/sale_supply_production/tox.ini b/modules/sale_supply_production/tox.ini index eeccd5c62b..b9673e571f 100644 --- a/modules/sale_supply_production/tox.ini +++ b/modules/sale_supply_production/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/sale_supply_production/* -m unittest discover -s tests {posargs} + coverage run --include=./**/sale_supply_production/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/sale_supply_production/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock/tox.ini b/modules/stock/tox.ini index 5c84efa6f5..8669f3b7bd 100644 --- a/modules/stock/tox.ini +++ b/modules/stock/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_assign_manual/tox.ini b/modules/stock_assign_manual/tox.ini index c74fb8d275..5ddbd928b3 100644 --- a/modules/stock_assign_manual/tox.ini +++ b/modules/stock_assign_manual/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_assign_manual/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_assign_manual/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_assign_manual/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_consignment/tox.ini b/modules/stock_consignment/tox.ini index df5a276d1b..6e2ea8cae4 100644 --- a/modules/stock_consignment/tox.ini +++ b/modules/stock_consignment/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_consignment/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_consignment/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_consignment/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_forecast/tox.ini b/modules/stock_forecast/tox.ini index 55b1c6f841..992d165db4 100644 --- a/modules/stock_forecast/tox.ini +++ b/modules/stock_forecast/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/stock_forecast/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_forecast/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_forecast/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_inventory_location/tox.ini b/modules/stock_inventory_location/tox.ini index 307858a662..07532ee1c0 100644 --- a/modules/stock_inventory_location/tox.ini +++ b/modules/stock_inventory_location/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_inventory_location/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_inventory_location/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_inventory_location/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_location_move/tox.ini b/modules/stock_location_move/tox.ini index 1f72c1726b..83c65064a1 100644 --- a/modules/stock_location_move/tox.ini +++ b/modules/stock_location_move/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_location_move/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_location_move/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_location_move/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_location_sequence/tox.ini b/modules/stock_location_sequence/tox.ini index 3058bc2582..1eeae88219 100644 --- a/modules/stock_location_sequence/tox.ini +++ b/modules/stock_location_sequence/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/stock_location_sequence/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_location_sequence/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_location_sequence/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_lot/tox.ini b/modules/stock_lot/tox.ini index 4797071361..aafccc8f01 100644 --- a/modules/stock_lot/tox.ini +++ b/modules/stock_lot/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_lot/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_lot/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_lot/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_lot_sled/tox.ini b/modules/stock_lot_sled/tox.ini index 7d85ebc7c4..776e8611d7 100644 --- a/modules/stock_lot_sled/tox.ini +++ b/modules/stock_lot_sled/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_lot_sled/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_lot_sled/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_lot_sled/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_lot_unit/tox.ini b/modules/stock_lot_unit/tox.ini index 8c74b8d45f..4cc66d4586 100644 --- a/modules/stock_lot_unit/tox.ini +++ b/modules/stock_lot_unit/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_lot_unit/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_lot_unit/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_lot_unit/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_package/tox.ini b/modules/stock_package/tox.ini index 6f0f6c6afd..c37b2bebf7 100644 --- a/modules/stock_package/tox.ini +++ b/modules/stock_package/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_package/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_package/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_package/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_package_shipping/tox.ini b/modules/stock_package_shipping/tox.ini index 963228c8fa..6fa97bd5c8 100644 --- a/modules/stock_package_shipping/tox.ini +++ b/modules/stock_package_shipping/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_package_shipping/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_package_shipping/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_package_shipping/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_package_shipping_dpd/tox.ini b/modules/stock_package_shipping_dpd/tox.ini index 9fb89a51db..ae7604aa2d 100644 --- a/modules/stock_package_shipping_dpd/tox.ini +++ b/modules/stock_package_shipping_dpd/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_package_shipping_dpd/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_package_shipping_dpd/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_package_shipping_dpd/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_package_shipping_mygls/tox.ini b/modules/stock_package_shipping_mygls/tox.ini index 054fc5b515..9aa0e8fb07 100644 --- a/modules/stock_package_shipping_mygls/tox.ini +++ b/modules/stock_package_shipping_mygls/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_package_shipping_mygls/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_package_shipping_mygls/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_package_shipping_mygls/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_package_shipping_sendcloud/tox.ini b/modules/stock_package_shipping_sendcloud/tox.ini index e95b6602ee..2174b54744 100644 --- a/modules/stock_package_shipping_sendcloud/tox.ini +++ b/modules/stock_package_shipping_sendcloud/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_package_shipping_sendcloud/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_package_shipping_sendcloud/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_package_shipping_sendcloud/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_package_shipping_ups/tox.ini b/modules/stock_package_shipping_ups/tox.ini index 357501e88f..20eb5ecc4e 100644 --- a/modules/stock_package_shipping_ups/tox.ini +++ b/modules/stock_package_shipping_ups/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_package_shipping_ups/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_package_shipping_ups/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_package_shipping_ups/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_product_location/tox.ini b/modules/stock_product_location/tox.ini index 74c1ed3ca7..212403b748 100644 --- a/modules/stock_product_location/tox.ini +++ b/modules/stock_product_location/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_product_location/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_product_location/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_product_location/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_quantity_early_planning/tox.ini b/modules/stock_quantity_early_planning/tox.ini index 089471cb24..1a050743ff 100644 --- a/modules/stock_quantity_early_planning/tox.ini +++ b/modules/stock_quantity_early_planning/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_quantity_early_planning/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_quantity_early_planning/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_quantity_early_planning/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_quantity_issue/tox.ini b/modules/stock_quantity_issue/tox.ini index 2a97d5c601..a8ac7b1eee 100644 --- a/modules/stock_quantity_issue/tox.ini +++ b/modules/stock_quantity_issue/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_quantity_issue/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_quantity_issue/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_quantity_issue/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_secondary_unit/tox.ini b/modules/stock_secondary_unit/tox.ini index fab60989e4..ff3d266ccd 100644 --- a/modules/stock_secondary_unit/tox.ini +++ b/modules/stock_secondary_unit/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_secondary_unit/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_secondary_unit/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_secondary_unit/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_shipment_cost/tox.ini b/modules/stock_shipment_cost/tox.ini index c01c2613e8..f60a250fcf 100644 --- a/modules/stock_shipment_cost/tox.ini +++ b/modules/stock_shipment_cost/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_shipment_cost/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_shipment_cost/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_shipment_cost/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_shipment_cost_weight/tox.ini b/modules/stock_shipment_cost_weight/tox.ini index 2d5590f463..95135c709f 100644 --- a/modules/stock_shipment_cost_weight/tox.ini +++ b/modules/stock_shipment_cost_weight/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_shipment_cost_weight/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_shipment_cost_weight/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_shipment_cost_weight/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_shipment_measurements/tox.ini b/modules/stock_shipment_measurements/tox.ini index 92f051bff4..53ab514eca 100644 --- a/modules/stock_shipment_measurements/tox.ini +++ b/modules/stock_shipment_measurements/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_shipment_measurements/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_shipment_measurements/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_shipment_measurements/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_split/tox.ini b/modules/stock_split/tox.ini index bd0b152e47..29d1af6a46 100644 --- a/modules/stock_split/tox.ini +++ b/modules/stock_split/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_split/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_split/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_split/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_supply/tox.ini b/modules/stock_supply/tox.ini index 538513d6b1..cb488f5a9c 100644 --- a/modules/stock_supply/tox.ini +++ b/modules/stock_supply/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_supply/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_supply/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_supply/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_supply_day/tox.ini b/modules/stock_supply_day/tox.ini index a79ccd0fb5..fbee4e43a9 100644 --- a/modules/stock_supply_day/tox.ini +++ b/modules/stock_supply_day/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/stock_supply_day/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_supply_day/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_supply_day/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_supply_forecast/tox.ini b/modules/stock_supply_forecast/tox.ini index 2a9a167c0d..9cc17b064d 100644 --- a/modules/stock_supply_forecast/tox.ini +++ b/modules/stock_supply_forecast/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_supply_forecast/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_supply_forecast/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_supply_forecast/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/stock_supply_production/tox.ini b/modules/stock_supply_production/tox.ini index 937f84a958..4b3c856743 100644 --- a/modules/stock_supply_production/tox.ini +++ b/modules/stock_supply_production/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/stock_supply_production/* -m unittest discover -s tests {posargs} + coverage run --include=./**/stock_supply_production/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/stock_supply_production/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/timesheet/tox.ini b/modules/timesheet/tox.ini index c12cc36ae7..db22cc4533 100644 --- a/modules/timesheet/tox.ini +++ b/modules/timesheet/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/timesheet/* -m unittest discover -s tests {posargs} + coverage run --include=./**/timesheet/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/timesheet/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/timesheet_cost/tox.ini b/modules/timesheet_cost/tox.ini index d50461a71b..1792b12d58 100644 --- a/modules/timesheet_cost/tox.ini +++ b/modules/timesheet_cost/tox.ini @@ -3,10 +3,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] commands = - coverage run --include=./**/timesheet_cost/* -m unittest discover -s tests {posargs} + coverage run --include=./**/timesheet_cost/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/timesheet_cost/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/user_role/tox.ini b/modules/user_role/tox.ini index 6aa2a1f18d..afc260f738 100644 --- a/modules/user_role/tox.ini +++ b/modules/user_role/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/user_role/* -m unittest discover -s tests {posargs} + coverage run --include=./**/user_role/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/user_role/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/web_shop/tox.ini b/modules/web_shop/tox.ini index c6c2efff5b..a294443072 100644 --- a/modules/web_shop/tox.ini +++ b/modules/web_shop/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/web_shop/* -m unittest discover -s tests {posargs} + coverage run --include=./**/web_shop/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/web_shop/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/web_shop_shopify/tox.ini b/modules/web_shop_shopify/tox.ini index 797a59178a..f2a3771e86 100644 --- a/modules/web_shop_shopify/tox.ini +++ b/modules/web_shop_shopify/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/web_shop_shopify/* -m unittest discover -s tests {posargs} + coverage run --include=./**/web_shop_shopify/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/web_shop_shopify/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/web_shop_vue_storefront/tox.ini b/modules/web_shop_vue_storefront/tox.ini index c1a16ce7aa..298f57871f 100644 --- a/modules/web_shop_vue_storefront/tox.ini +++ b/modules/web_shop_vue_storefront/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/web_shop_vue_storefront/* -m unittest discover -s tests {posargs} + coverage run --include=./**/web_shop_vue_storefront/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/web_shop_vue_storefront/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/web_shop_vue_storefront_stripe/tox.ini b/modules/web_shop_vue_storefront_stripe/tox.ini index 4de9606bb4..997c295d2d 100644 --- a/modules/web_shop_vue_storefront_stripe/tox.ini +++ b/modules/web_shop_vue_storefront_stripe/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/web_shop_vue_storefront_stripe/* -m unittest discover -s tests {posargs} + coverage run --include=./**/web_shop_vue_storefront_stripe/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/web_shop_vue_storefront_stripe/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/web_shortener/tox.ini b/modules/web_shortener/tox.ini index 73ff673b9e..eb7dc26acd 100644 --- a/modules/web_shortener/tox.ini +++ b/modules/web_shortener/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/web_shortener/* -m unittest discover -s tests {posargs} + coverage run --include=./**/web_shortener/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/web_shortener/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/modules/web_user/tox.ini b/modules/web_user/tox.ini index 24081e1b4a..00bbc69ff7 100644 --- a/modules/web_user/tox.ini +++ b/modules/web_user/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run --include=./**/web_user/* -m unittest discover -s tests {posargs} + coverage run --include=./**/web_user/* -m xmlrunner discover -s tests {posargs} coverage report --include=./**/web_user/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv = diff --git a/proteus/tox.ini b/proteus/tox.ini index 366afc73f0..3748a67928 100644 --- a/proteus/tox.ini +++ b/proteus/tox.ini @@ -4,9 +4,11 @@ envlist = py37,py38,py39,py310 [testenv] extras = test commands = - coverage run -m unittest discover -s proteus.tests {posargs} + coverage run -m xmlrunner discover -s proteus.tests {posargs} coverage report --include=./proteus/* --omit=*/tests/* -deps = coverage +deps = + coverage + unittest-xml-reporting passenv = * setenv = TRYTOND_DATABASE_URI={env:TRYTOND_DATBASE_URI:sqlite://} diff --git a/sao/Gruntfile.js b/sao/Gruntfile.js index b4b32fdbe2..0ec1a429ce 100644 --- a/sao/Gruntfile.js +++ b/sao/Gruntfile.js @@ -156,6 +156,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-less'); grunt.loadNpmTasks('grunt-po2json'); + grunt.loadNpmTasks('grunt-qunit-junit'); grunt.registerTask('default', 'Build for production.', function() { grunt.task.run(['concat', 'jshint', 'uglify', 'less', 'po2json']); @@ -177,7 +178,7 @@ module.exports = function(grunt) { }); grunt.registerTask('test', 'Run tests', function() { grunt.loadNpmTasks('grunt-contrib-qunit'); - grunt.task.run(['concat', 'jshint', 'less:dev', 'qunit']); + grunt.task.run(['concat', 'jshint', 'less:dev', 'qunit_junit', 'qunit']); }); }; diff --git a/sao/package.json b/sao/package.json index 7fbb5495d9..ed076cfc95 100644 --- a/sao/package.json +++ b/sao/package.json @@ -39,8 +39,9 @@ "grunt-contrib-nodeunit": "^2.0", "grunt-contrib-qunit": "^3.1", "grunt-contrib-watch": "^1.1", - "grunt-shell": "^3.0", - "grunt-po2json": "^0.3" + "grunt-po2json": "^0.3", + "grunt-qunit-junit": "^0.3.1", + "grunt-shell": "^3.0" }, "keywords": [ "tryton" diff --git a/tryton/tox.ini b/tryton/tox.ini index 1d8036f894..324a396e5b 100644 --- a/tryton/tox.ini +++ b/tryton/tox.ini @@ -3,8 +3,9 @@ envlist = py37,py38,py39,py310 [testenv] commands = - coverage run -m unittest discover -s tryton.tests {posargs} + coverage run -m xmlrunner discover -s tryton.tests {posargs} coverage report --include=./tryton/* --omit=*/tests/* deps = coverage + unittest-xml-reporting passenv = * diff --git a/trytond-gis/tox.ini b/trytond-gis/tox.ini index c9971b664e..da1e60937f 100644 --- a/trytond-gis/tox.ini +++ b/trytond-gis/tox.ini @@ -3,10 +3,12 @@ envlist = py37,py38,py39,py310 [testenv] commands = - coverage run -m unittest discover -s trytond.tests {posargs} - coverage run -a -m unittest discover -s trytond_gis.tests {posargs} + coverage run -m xmlrunner discover -s trytond.tests {posargs} + coverage run -a -m xmlrunner discover -s trytond_gis.tests {posargs} coverage report --include=./trytond_gis/* --omit=*/tests/* -deps = coverage +deps = + coverage + unittest-xml-reporting passenv = * setenv = TRYTOND_DATABASE_URI={env:POSTGIS_URI:postgis://} diff --git a/trytond/tox.ini b/trytond/tox.ini index 298a9c29ed..f377479a14 100644 --- a/trytond/tox.ini +++ b/trytond/tox.ini @@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql} [testenv] extras = test commands = - coverage run -m unittest discover -s trytond.tests {posargs} + coverage run -m xmlrunner discover -s trytond.tests {posargs} coverage report --include=./trytond/* --omit=*/tests/* deps = coverage + unittest-xml-reporting postgresql: psycopg2 >= 2.7.0 passenv = * setenv =