colour-runner
colour-runner copied to clipboard
Add a main() shortcut
Currently, my unittest has the following code:
unittest.main()
It would be nice to have a colour_runner.main()
or colour_runner.runner.main()
as a shortcut to:
# Note: untested line!
unittest.main(testRunner=test_runner, *args, *kwargs)
https://docs.python.org/3/library/unittest.html#unittest.main
I don't know how to use it with unittest.main()
. Is it possible? Can you share an example?