I'm working on a python client that needs to talk to a backend server running in Scala/Java.
I'd like to somehow automate the unit testing of my python client so that the server gets started before running the python unit tests.
What's the best strategy to deal with this? Initially I had a Scala facet + Python facet on an IntelliJ project and I was manually starting the server via a small testng class.
I'm now trying PyCharm but no way to run Scala/Java from there.
So, what would be the best way to automate the server being started at the beginning of my unit tests? Maybe run a script from the python unit test?
Any other ideas?