0

我在使用运行功能测试任务进行分布式测试时遇到了严重问题。

我的场景是:我为 Selenium 和 SpecFLow 构建并运行单元测试 OK。之后,我为测试环境机器复制 DLL,安装测试代理并运行功能测试任务。代理安装没问题,但运行 Specflow 和 Selenium DLL 是我的问题。

在第一次尝试时,我只复制了 Specflow 和 Selenium DLL 进行机器测试,但出现以下错误:

2016-06-30T23:12:19.5087649Z DistributedTests: Test run '327' is in 'InProgress' state.

2016-06-30T23:12:29.5121638Z DistributedTests: Test run '327' is in 'InProgress' state.

2016-06-30T23:12:39.5531864Z DistributedTests: Test run '327' is in 'InProgress' state.

2016-06-30T23:12:49.5714200Z DistributedTests: Test run '327' is in 'InProgress' state.

2016-06-30T23:12:59.5907849Z DistributedTests: Test run '327' is in 'InProgress' state.

2016-06-30T23:13:09.6050718Z DistributedTests: Test run '327' is in 'InProgress' state.

2016-06-30T23:13:19.6276865Z DistributedTests: Test run '327' is in 'InProgress' state.

2016-06-30T23:13:29.6528948Z DistributedTests: Test run '327' is in 'Aborted' state.

2016-06-30T23:13:39.6659731Z ##[warning]DistributedTests: Test run is aborted. Logging details of the run logs.

2016-06-30T23:13:39.6972230Z ##[warning]DistributedTests: New test run created.

2016-06-30T23:13:39.7128461Z ##[warning]Test Run queued for Project Collection Build Service (TEAM FOUNDATION).

2016-06-30T23:13:39.7128461Z ##[warning]DistributedTests: Test discovery started.

2016-06-30T23:13:39.7128461Z ##[warning]DistributedTests: Test Run Discovery Aborted . Test run id : 327

2016-06-30T23:13:39.7128461Z ##[warning]DistributedTests: UnExpected error occured during test execution. Try again.

2016-06-30T23:13:39.7128461Z ##[warning]DistributedTests: Error : No tests were discovered from the specified test sources

2016-06-30T23:13:39.7128461Z ##[warning]DistributedTests: Test run aborted. Test run id: 327

2016-06-30T23:13:39.8690942Z ##[error]The test run was aborted, failing the task.

我还尝试复制所有 DLL,包括 SpecFLow 和 Selenium DLL 以及网站 DLL,但它仍然返回相同的错误。一切都配置好了。在最后一次尝试中,我已将 VSStudio 安装到测试环境中,但没有任何反应。

我有一个类似的测试环境,它运行正常。编辑

代理部署任务

运行功能测试任务

4

0 回答 0