tarpas / pytest-testmon

Selects tests affected by changed files. Executes the right tests first. Continuous test runner when used with pytest-watch.
https://testmon.org
MIT License
800 stars 54 forks source link

Support for vanilla unittest #163

Closed m-aciek closed 3 years ago

m-aciek commented 3 years ago

Would you consider supporting vanilla unittest from Python standard library? Is it much work in your opinion to extract an abstraction layer above of Pytest, e.g. if some volunteer would be about to work on it?

The project looks very promising, thank you for sharing it!

m-aciek commented 3 years ago

I learned that https://github.com/man-group/partialtesting may support that, but it requires some manual job to use it.

tarpas commented 3 years ago

Unfortunately I don't have any plans to do that. Reliable integration between coverage and pytest is more effort than anything else in pytest-testmon. I'll concentrate on improving testmon for pytest..

Why can't you switch the runner to pytest without changing the suite? (Honestly curious, not trying to be difficult)

m-aciek commented 3 years ago

I see. I can use Pytest, I was just wondering if it would be possible to have Testmon functionality without adding Pytest as a new dependency to development stack in a project.