Is there a way to strip the JUnit @Test code from my Java class.
At the moment I embedded the test code in the same file as the source code to be tested 
(Yes I know it's bad, but it is an incentive for me to keep maintaining my test code)

I'd like to strip the test methods from the code, build the binary and deploy.

Thanks