From 6a6dcacdc5d0d4f37b48413fdfd29cc9bf9f1f77 Mon Sep 17 00:00:00 2001 From: joao Date: Tue, 30 Jan 2024 16:57:26 -0300 Subject: [PATCH 1/2] chore(actions): improve readme --- README.md | 7 ++++--- setup.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3075867..ef2855f 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,16 @@ Running tests with `pytest-xdist` with multiple workers, evenly distributing slo ### Example Consider a test suite with six tests, each taking varying amounts of time to run: -![Test Suite](https://github.com/joaovitorsilvestre/pytest-slow-first/blob/master/docs/assets/test_suite.png?raw=true) +Suite with 6 tests and their times Running this suite with two workers using only `pytest-xdist` might result in uneven distribution: -![Default xdist Distribution](https://github.com/joaovitorsilvestre/pytest-slow-first/blob/master/docs/assets/only_xdist.png?raw=true) +Suite running with xdist However, with `pytest-slow-first`, the same suite will be executed more efficiently and takes less time to finish, as shown below: -![xdist and slow-first Distribution](https://github.com/joaovitorsilvestre/pytest-slow-first/blob/master/docs/assets/xdist_and_slow_first.png?raw=true) + +Suite with 6 tests running with xdist + slow-first ## Usage diff --git a/setup.py b/setup.py index e941830..68aea73 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def read(fname): setup( name='pytest-slow-first', - version='1.0.2', + version='1.0.3', author='João Vitor Silvestre', author_email='joao_vitor_silvestre@outlook.com', maintainer='João Vitor Silvestre', From 06ac2a542a5e6b867e30384164ecde5d4159db20 Mon Sep 17 00:00:00 2001 From: joao Date: Tue, 30 Jan 2024 16:58:21 -0300 Subject: [PATCH 2/2] chore(actions): improve readme --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index ef2855f..d1b5299 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,10 @@ Consider a test suite with six tests, each taking varying amounts of time to run Running this suite with two workers using only `pytest-xdist` might result in uneven distribution: -Suite running with xdist +Suite running with xdist However, with `pytest-slow-first`, the same suite will be executed more efficiently and takes less time to finish, as shown below: - Suite with 6 tests running with xdist + slow-first ## Usage