craigahobbs / unittest-parallel

Parallel unit test runner for Python with coverage support
MIT License
29 stars 5 forks source link

Add new parameter to allow running tests with custom runner #20

Open felipearcaro opened 3 months ago

felipearcaro commented 3 months ago

This PR implements what I suggested on this issue.

Users will be allowed to pass -r parameter with custom runner module and class. Here's an example:

Screenshot 2024-05-20 at 21 05 01

Since the custom module needs to be specified in the setup.cfg file, the supported package(s) is informed in the README.md file.

craigahobbs commented 2 months ago

Removed my pull request to your pull request since its a little confusing. :) I renamed my PR branch to "feature/custom-runner". Does it work for you purposes?

https://github.com/craigahobbs/unittest-parallel/tree/feature/custom-runner