Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python & maven (unit test integration)

I have a project that mainly Java (using maven as the build tool) and we are looking to add some python modules. It's easy enough to place the code in src/main/python but I haven't found a nice way to integrate maven's test framework to our python unit tests. Is there a nice way to get it so that my java unit tests and python unit tests are run with the same maven goal? (Bonus points if the results of the python unit tests will show up in the site reports).

like image 908
Mark Avatar asked Feb 03 '11 00:02

Mark


1 Answers

This seems to be what you're looking for. There are a few other places where this is discussed.

http://steveberczuk.blogspot.com/2009/12/continuous-integration-of-python-code.html

http://www.mojohaus.org/exec-maven-plugin/

like image 140
S.Lott Avatar answered Sep 25 '22 08:09

S.Lott