Skip to content

Commit 81bcac2

Browse files
AC - added paellelisation
1 parent d074e83 commit 81bcac2

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

pytest.ini

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,23 @@ addopts =
88
--json-report-file=test-results/results.json
99
--json-report-omit=collectors
1010
--tracing=retain-on-failure
11+
--numprocesses=auto
1112
markers =
1213
example: tests used for example purposes
1314
branch: tests designed to run at a branch level
1415
main: tests designed to run against the main branch
1516
release: tests designed to run specifically against a release branch
17+
18+
# This fixes the issue where python cannot find modules
1619
pythonpath = .
20+
21+
# Seting for the retry plugin
22+
# timeout is in seconds and effects each individual test, not the entire run
1723
timeout = 60
24+
# How many times to retry a failed test before classifying it as failed
1825
retries = 3
26+
# number of seconds between each retry
1927
retry_delay = 1
20-
cumulative_timing = false
28+
# If you want to add together all of the time for the re-tried and successful
29+
# tests then set this to true.
30+
cumulative_timing = false

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ pytest-json-report>=1.5.0
44
pytest-timeout>=2.3.1
55
python-dotenv>=1.0.1
66
pytest-retry>=1.6.3
7+
pytest-xdist>=3.6.1
78
PyMuPDF>=1.24.13

0 commit comments

Comments
 (0)