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).
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With