0

我在 Intellij 中用 java 编写了 maven 项目并更新了 POM,如 [链接][1] 中所述。

我已经将 Appium 与 Junit 一起使用。

我没有在下面添加插件,因为他们在上传包时出错。

plugin: org.codehaus.mojo - 
animal-sniffer-maven-plugin and exec-maven-plugin

我收到以下错误

检查版本

打包

协商上传

上传协商文件

入队测试用户:xyz@abc.com 测试类型:Appium 团队:X 团队在设备上运行:Asus Google Nexus 7 (2013) (6.0.1)

### Waiting for test results ###
2017-04-27T12:13:49 Validating
2017-04-27T12:14:00 Validating
2017-04-27T12:14:11 Validating
2017-04-27T12:14:21 Validating
2017-04-27T12:20:31 Running on 1 device (0 / 1 completed, 0 pending)
2017-04-27T12:20:42 Running on 1 device (0 / 1 completed, 0 pending)
2017-04-27T12:20:52 Running on 1 device (0 / 1 completed, 0 pending)
2017-04-27T12:21:03 Running on 1 device (0 / 1 completed, 0 pending)
2017-04-27T12:21:14 Running on 1 device (0 / 1 completed, 0 pending)
2017-04-27T12:21:25 Tests completed. Processing data.
2017-04-27T12:21:36 Failed!
2017-04-27T12:21:36 Reason: [INFO] Scanning for projects...
[INFO]
[INFO] ---------------------------------------------------------------------
---
[INFO] Building run-test 1.0-SNAPSHOT
[INFO] ---------------------------------------------------------------------
 ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ run-
test ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ run-test --
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) 
@ run-test ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
run-test ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ run-test ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ run-test ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: target/run-test-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.19.1:integration-test (default) @ run-
test ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, 
i.e. build is platform dependent! The file encoding for reports output files 
should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO]
[INFO] --- maven-failsafe-plugin:2.19.1:verify (default) @ run-test ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, 
i.e. build is platform dependent! The file encoding for reports output files 
should be provided by the POM property ${project.reporting.outputEncoding}.
[INFO] ---------------------------------------------------------------------
---
[INFO] BUILD SUCCESS
[INFO] ---------------------------------------------------------------------
---
[INFO] Total time: 3.087 s
[INFO] Finished at: 2017-04-27T14:19:57+02:00
[INFO] Final Memory: 14M/188M
[INFO] ---------------------------------------------------------------------
---

2017-04-27T12:21:36 Test Report:
2017-04-27T12:21:36 https://testcloud.xamarin.com/test/asap_b297744a-e560-
4c31-a06d-e06a78ecf61b/

同样在 Xamarin 我收到以下错误

不幸的是,我们无法执行这个测试套件。

有人可以帮我吗?enter code here

4

0 回答 0