• Post Reply Bookmark Topic Watch Topic
  • New Topic

Additional test directory (for integration test) - how?  RSS feed

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I want to have additional test directory for integration test, how i define this?

Thank you
 
Jan Cumps
Bartender
Posts: 2632
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using Ant, Maven or Other Build Tools?
 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maven2,

Thank you
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you saying that you have two different directories that contain sources for the tests?

I will make the assumption that you either have a bunch of helper classes, or perhaps a testing framework, in one source directory and then for each of your projects you have the actual test sources for just that project, and those test sources make us of the helper or framework classes. In my opinion, the Maven way of handling this is to build the helper or framework classes in a separate project, load the JAR file into your local repository, and then reference that JAR as a testing dependency within your other projects.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!