title: Run TestNG/JUnit Integration Tests on Remote Server from within IDE
body: <p>Inside my IDE (Eclipse or NetBeans, doesn't matter), i have some TestNG testclasses (But my question also refers to remote JUnit tests), which are Integration tests. These tests need an integration server to run, they cannot be run on a local machine. They need the complete environment of the integration server - not only JavaEE container related stuff (=> no Arquillian nor JEEUnit).</p>
  
  <p>Now I want to be able to run these tests from within my IDE (Eclipse) - preferrably with the TestNG Plugin - but when I launch them they should actually be run on the remote integration server.</p>
  
  <p>Is it possible to launch integration tests on a remote server from within my IDE? 
  I like the idea of having some kind of Agent on the remote Server which waits for test-requests and executes them. But as I said, it would be nice if this runs from inside the TestNG Plugin.</p>
  
  <p>Do I need some kind of workaround, for example Ant scripts (hopefully not) or some Maven magic? What are the best practices?</p>
  
  <p><em>I know I could also create Webservices for my application, then I can call them from local unit tests. But I'd like to know if there are also possibilities without Webservices.</em></p>