Python xmlrunner being used?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Python xmlrunner being used?

Driesprong, Fokko
Hi all,

Does anyone know if the xmlrunner package is still being used?

We're working on enforcing some static code analysis checks on the Python codebase, and the imports of the xmlrunner generates quite some noise: https://github.com/apache/spark/pull/29121

It looks like the entry point for a lot of tests: https://github.com/apache/spark/search?p=1&q=xmlrunner&unscoped_q=xmlrunner This will only run when the testfile is explicitly invoked.

However, looking at the coverage report generation: https://github.com/apache/spark/blob/master/python/run-tests-with-coverage This is being generated using coverage.

I also can't find where it is being installed. Anyone any historical knowledge on this? 

Kind regards, Fokko




Reply | Threaded
Open this post in threaded view
|

Re: Python xmlrunner being used?

Driesprong, Fokko

Is anybody actually using this?

Cheers, Fokko

Op vr 24 jul. 2020 om 16:27 schreef Driesprong, Fokko <[hidden email]>:
Hi all,

Does anyone know if the xmlrunner package is still being used?

We're working on enforcing some static code analysis checks on the Python codebase, and the imports of the xmlrunner generates quite some noise: https://github.com/apache/spark/pull/29121

It looks like the entry point for a lot of tests: https://github.com/apache/spark/search?p=1&q=xmlrunner&unscoped_q=xmlrunner This will only run when the testfile is explicitly invoked.

However, looking at the coverage report generation: https://github.com/apache/spark/blob/master/python/run-tests-with-coverage This is being generated using coverage.

I also can't find where it is being installed. Anyone any historical knowledge on this? 

Kind regards, Fokko




Reply | Threaded
Open this post in threaded view
|

Re: Python xmlrunner being used?

Hyukjin Kwon
It's used in Jenkins IIRC

2020년 7월 24일 (금) 오후 11:43, Driesprong, Fokko <[hidden email]>님이 작성:

Is anybody actually using this?

Cheers, Fokko

Op vr 24 jul. 2020 om 16:27 schreef Driesprong, Fokko <[hidden email]>:
Hi all,

Does anyone know if the xmlrunner package is still being used?

We're working on enforcing some static code analysis checks on the Python codebase, and the imports of the xmlrunner generates quite some noise: https://github.com/apache/spark/pull/29121

It looks like the entry point for a lot of tests: https://github.com/apache/spark/search?p=1&q=xmlrunner&unscoped_q=xmlrunner This will only run when the testfile is explicitly invoked.

However, looking at the coverage report generation: https://github.com/apache/spark/blob/master/python/run-tests-with-coverage This is being generated using coverage.

I also can't find where it is being installed. Anyone any historical knowledge on this? 

Kind regards, Fokko