-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Environment
- If using VSTS, provide the account name, team project name, build definition name/build number:
account name: miyasaka_masahiko@tworks.co.jp
team project name: TestAppCenter
build definition name/build number: TestAppCenter-Xamarin.Android-CI (1) / Build 20180404.1
-
Agent - Hosted or Private:
- If using Hosted agent, provide agent queue name:
Hosted VS2017
- If using Hosted agent, provide agent queue name:
Issue Description
'Test with Visual Studio App Center' failed on Prepare Tests.
The log said test-cloud.exe couldn't be found.
My settings for App Center Test is like below.
I tried to add Addition option "--uitest-tools-dir" which the log says about with the value
'$(APPCENTER_SOURCE_DIRECTORY)/packages/Xamarin.UITest./tools' or
'$APPCENTER_SOURCE_DIRECTORY/packages/Xamarin.UITest./tools'.
But it doesn't work.
'$APPCENTER_SOURCE_DIRECTORY/packages/Xamarin.UITest.*/tools' is written here
Error logs
******************************************************************************
Starting: Test with Visual Studio App Center
******************************************************************************
==============================================================================
Task : App Center Test
Description : Test app packages with Visual Studio App Center.
Version : 1.131.0
Author : Microsoft Corporation
Help : For help with this task, visit the Visual Studio App Center support site.
==============================================================================
C:\Windows\system32\cmd.exe /D /S /C "D:\a_tasks\AppCenterTest_ad5cd22a-be4e-48bb-adce-181a32432da5\1.131.0\node_modules.bin\appcenter.cmd test prepare uitest --artifacts-dir D:\a\1\a\AppCenterTest --app-path D:/a/1/b/Release/com.companyname.TestAppCenter.apk --build-dir D:\a\1\b/Release/test-assembly/test.dll --quiet"
Preparing tests... failed.
Error: Cannot find test-cloud.exe, which is required to prepare UI tests.
We have searched for directory "packages\Xamarin.UITest.*\tools" inside "D:\a\1\b/Release/test-assembly/test.dll" and all of its parent directories.
Please use option "--uitest-tools-dir" to manually specify location of this tool.
Minimum required version is "2.2.0".
Error: D:\a_tasks\AppCenterTest_ad5cd22a-be4e-48bb-adce-181a32432da5\1.131.0\node_modules.bin\appcenter.cmd failed with return code: 3