Test Sources

What are the adventages of configuring Test Sources? So far, I can't really see how I can control them separately from the regular sources. Can I exclude them from compilation during non-junit runs? Can I exclude them from packaging when building web modules? Can I assign them additional libraries (e.g. junit.jar, dbunit.jar, etc.)?

Please sign in to leave a comment.