开发者

Maven building, but not testing

开发者 https://www.devze.com 2023-02-15 02:42 出处:网络
We are trying to devel开发者_高级运维op an Android application in Eclipse using TDD/Continuous Integration.

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>
0

精彩评论

暂无评论...
验证码 换一张
取 消