-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parameterize the module I want to use to run tests #19
Labels
Comments
Sounds similar to #16. |
Oh right - I'll put up a PR for you to review. Thanks! |
Hey @craigahobbs - just created this PR. Thanks! |
Working in "feature/custom-runner": https://github.com/craigahobbs/unittest-parallel/tree/feature/custom-runner |
Duplicate of #16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been using your package and it works great, thank you for building it.
When I run
python -m unittest
, it executes theunittest
module as a script - something likepython unittest.py
, which gives me some flexibility. For example, when I run Python unit tests inside of TeamCity, I can runpython -m teamcity.unittestpy
instead to use TeamCity's Python package (essentially a wrapper aroundunittest
module) - that discovers and runs tests, and reports the results in a format that TeamCity can understand.Do you think that could be added as a parameter, something like
unittest-parallel -m teamcity.unittestpy
?By quickly looking at your code and teamcity-messages's documentation, I believe that, in the scenario I described above, this line would run
TeamcityTestRunner()
instead.I would be more than happy to work on it and put up a PR, let me know.
Note: This is probably an enhancement and not an issue.
The text was updated successfully, but these errors were encountered: