Is pytest-incremental abandoned?

33 views
Skip to first unread message

Thomas Arildsen

unread,
Oct 25, 2024, 5:14:24 AM10/25/24
to python-doit
Hi,
I hope it is OK I also ask about pytest-incremental here.
I just found pytest-incremental and it looks useful, but it looks like the project has had no changes for a couple of years and it mentions Pytest 6 and Python 3.9 as latest versions it works with. I am wondering if the project is abandoned and should not be relied on?
Best regards,

Thomas

Eduardo Schettino

unread,
Oct 25, 2024, 5:20:59 AM10/25/24
to pytho...@googlegroups.com
Hi Thomas,

I am the author of both doit and pytest-incremental.
Not really maintaining pytest-incremental anymore, *maybe* it still works with the latest pytest version.
If you are interested you could give it a try and we push a new release. actually doit needs a release for some time already too.

I kind of decided to build something like pytest-incremental but on top plain unittest without using pytest. 
But surprise surprise, no time to work on that... if you are interested we can have a chat about it.

Regards



--
You received this message because you are subscribed to the Google Groups "python-doit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-doit...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/python-doit/e73cc204-3994-4c83-a6c2-137e6bfc9b6bn%40googlegroups.com.

Thomas Arildsen

unread,
Oct 29, 2024, 3:08:52 AM10/29/24
to python-doit
I have just tested pytest-incremental 0.5.0 with pytest 8.3.3 (with Python 3.10.12) and it seems to work. I see no errors or warnings from pytest-incremental or pytest. When I re-run tests with no code changes, all tests are skipped as expected and `pytest --inc-outdated` says "All test files are up to date". If I change a Python file which some tests depend on, pytest-incremental indeed detects changes and only re-runs some of the tests that seem to be the correct ones related to the change.
I am mainly interested in using it together with pytest and not interested in plain unittest as such.
Best regards,

Thomas

Reply all
Reply to author
Forward
0 new messages