Maven building, but not testing
We are trying to devel开发者_高级运维op an Android
application in Eclipse using TDD/Continuous Integration.
We have Maven 3 and Atlassian Bamboo running on a server. Our problem is, that when running mvn clean install
from cli, Maven builds the App and AppTest successfully, but no tests are run.
Running the sample15demos, we downloaded, Maven builds and runs tests.
Would like help with setup or perhaps an alternative altogether.
Android apps tend to change the test path inside the build tag. Check that your tests are in the correct directory.
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
...etc etc...
</build>
精彩评论