about summary refs log tree commit diff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 60291a8..11c5c89 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,11 +27,12 @@ Source = 'https://trong.loang.net/scadere'
 Inbox = 'https://loa.loang.net/chung'
 
 [project.optional-dependencies]
-dev = [ 'coverage',
-        'flake8',
+dev = [ 'flake8',
         'hypothesis',
         'pytest',
         'pytest-asyncio',
+        'pytest-cov',
+        'pytest-xdist',
         'trustme >= 1.2.0' ]
 
 [project.scripts]
@@ -39,6 +40,7 @@ scadere-check = 'scadere.check:main'
 scadere-listen = 'scadere.listen:main'
 
 [tool.pytest.ini_options]
+addopts = '-n auto --cov=.'
 asyncio_mode = 'auto'
 asyncio_default_fixture_loop_scope = 'function'
 testpaths = [ 'tst' ]
@@ -46,8 +48,6 @@ verbosity_assertions = 2
 
 [tool.coverage.run]
 branch = true
-command_line = '-m pytest'
-source = [ '.' ]
 
 [tool.coverage.report]
 fail_under = 100