unittest-xml-reporting icon indicating copy to clipboard operation
unittest-xml-reporting copied to clipboard

Naming conflict with 'xmlrunner' Python library(pip)

Open cakel opened this issue 5 years ago • 1 comments

Hello, I'm using your library and it usefully meets my expectation.

Someday during unit-test, I've got an error message using 'xmlrunner'. $ python3 -m xmlrunner discover ./test -o ./junit-reports /bin/python3: No module named xmlrunner.__main__; 'xmlrunner' is a package and cannot be directly executed

After a timed investigation, I figured out that 'xmlrunner' also resides on pip library and it's could be installed if developer requests to install 'xmlrunner' instead of 'unittest-xml-reporting'.

It would be nice to gentle reminder if any user like me, has "No module named xmlrunner.main; 'xmlrunner' is a package and cannot be directly executed" a message. Removing 'xmlrunner' package and install 'unittest-xml-reporting' was answer.

Thank you

cakel avatar May 11 '20 05:05 cakel

I understand the issue; there is indeed another project registered in pypi named xmlrunner. image I can leave the issue open for other folks to find; but I don't plan on addressing it.

dnozay avatar Aug 14 '20 22:08 dnozay