title: JUnit testing through Eclipse on an already-existing binary .class file?
body: <p>I have to run some JUnit tests on a pre-compiled binary .class file (one that doesn't have a main() function on top of that).</p>
  
  <p>I'm not a Java noob by any means, but this is the first time I've ever had to deal with this situation -- no main in the compiled binary (so how would I execute the methods in the compiled code??), trying to somehow invoke the methods in the JUnit test cases I'm making, trying to get Eclipse to even ACKNOWLEDGE that the main()-less binary exists...the compiled .class file is also part of a package (let's say the package is called x.y.z)...and I've never dealt with THAT even before.</p>
  
  <p>If I can't do this via Eclipse, how would I just use Ant on the command line??? I've made build.xmls before, but not for something like this.</p>