问题
I've generated an Android project using the akquinet archetype:
mvn archetype:generate \
-DarchetypeArtifactId=android-with-test \
-DarchetypeGroupId=de.akquinet.android.archetypes \
-DarchetypeVersion=1.0.11 \
-DgroupId=com.foo.bar \
-DartifactId=my-android-project \
-Dpackage=com.foo.bar.android
This archetype creates
- a parent project,
 myprojectproject with the actual Android application andmyproject-itwith the integration tests.
When I add the following test class into the myproject-it project and run mvn install, I don't get a test failure message. 
import org.junit.Assert;
import org.junit.Test;
public class SimCardReaderTest {
    @Test
    public void testGetAvailableSimCards()
    {
        Assert.fail("Not implemented");
    }
}
Hence, the unit test is not executed.
What can I do in order to run unit tests (tests, which do not depend on the Android environment) in a project based on akquinet?
来源:https://stackoverflow.com/questions/17545188/akquinet-android-with-test-archetype-unit-tests-are-not-executed