Reputation: 1361
I'm using Jenkins to build my project, and AgitarOne tool to generate my JUnit test cases for my classes. However, when I build my project in Jenkins, it does not use the AgitarOne tests. Is there a way to configure jenkins to look at a test folder other than what is in src/test?
Upvotes: 1
Views: 1476
Reputation: 1685
To change your test directory to a non-standard location, you'll need to change the testSourceDirectory on your pom (the answer to How to run UnitTests in maven which is in src/test-integration/java folder has a very good explanation of this, as well as buildhelper usage to achieve your goals).
Upvotes: 2