Commit af764e6c authored by Kirill Smelkov's avatar Kirill Smelkov

Run tests at all levels

Since https://github.com/zopefoundation/ZODB/commit/a94d63c552d6 (part
of https://github.com/zopefoundation/ZODB/pull/368) some ZODB tests are
marked as being long to help skipping them easily during development via
running tests only at level 1.

But by default we want to continue to run all tests.

-> Adjust tox to run tests at all levels explicitly, since
zope-testrunner's default is to run tests at level 1 only.
parent fc0729b3
......@@ -16,9 +16,9 @@ with-sphinx-doctests = false
use-flake8 = true
testenv-commands = [
"# Run unit tests first.",
"zope-testrunner -u --test-path=src {posargs:-vc}",
"zope-testrunner -u --test-path=src --all {posargs:-vc}",
"# Only run functional tests if unit tests pass.",
"zope-testrunner -f --test-path=src {posargs:-vc}",
"zope-testrunner -f --test-path=src --all {posargs:-vc}",
]
testenv-deps = [
"!zodbmaster: ZODB >= 4.2.0b1",
......
......@@ -28,9 +28,9 @@ setenv =
zeo4: ZEO4_SERVER=1
commands =
# Run unit tests first.
zope-testrunner -u --test-path=src {posargs:-vc}
zope-testrunner -u --test-path=src --all {posargs:-vc}
# Only run functional tests if unit tests pass.
zope-testrunner -f --test-path=src {posargs:-vc}
zope-testrunner -f --test-path=src --all {posargs:-vc}
extras =
test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment