colour-runner icon indicating copy to clipboard operation
colour-runner copied to clipboard

Add a main() shortcut

Open denilsonsa opened this issue 10 years ago • 1 comments

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

denilsonsa avatar Mar 31 '14 18:03 denilsonsa

I don't know how to use it with unittest.main(). Is it possible? Can you share an example?

leoheck avatar Aug 26 '17 13:08 leoheck