ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Using JUnit With Eclipse IDE
Subject:   I don't want JUnit in my production code!
Date:   2009-04-08 12:11:26
From:   Alex_SF
Hi,


Nice article but unfortunately, your end product will contain your tests and all the Junit Jars that go along with them.


As far as I can tell, Eclipse provides no way to distinguish between test src and production src. If anyone knows a way to persuade it to not package the test src or junit jars with the built production artifact, please enlighten me!


Thanks,


Alex