Forum Discussion
I would try specifying the whole path for testAssemblyVer2 and searchFolder to make sure they are resolving to the path you intend to use.
- YagoDaniel922 years agoOccasional Contributor
In the testComplete manual, it only gives an example of a value for searchFolder, which is the default value
I made the following change to the YAML code
- task: VSTest@3 inputs: testSelector: 'testAssemblies' testAssemblyVer2: 'C:\agent\_work\1\s\TestComplete\BusinessAutomacao\BusinessAutomacao.pjs' searchFolder: 'C:\agent\_work\1\s\TestComplete\BusinessAutomacao\' testFiltercriteria: 'Project=BusinessCSAutomacao' vsTestVersion: 'toolsInstaller'
Now with this code, the Pipeline did not give an error, but it also did not run any tests
I also don't know which path to put in the searchFolder because the manual only gives an example of the default path and with the default path an error occurs
- Marsha_R2 years agoModerator
I know you said that no tests ran, but did TestComplete give you an empty log or did it not have a log at all?
- YagoDaniel922 years agoOccasional Contributor
On the machine I am testing, both TestComplete and TestExecute are installed, but neither of them were executed nor did they provide a log.
I even tried to remove the test filter, but the Pipeline continues to run and nothing is executed.
trigger: - master pool: name: TesteAutomatizado steps: - task: VisualStudioTestPlatformInstaller@1 inputs: packageFeedSelector: 'nugetOrg' versionSelector: 'latestPreRelease' - task: InstallTestCompleteAdapter@1 inputs: accessKey: 'eaf3b7e0-269d-4855-babb-6b61226f0f2d' logsLevel: '0' - task: VSTest@3 inputs: testSelector: 'testAssemblies' testAssemblyVer2: 'C:\agent\_work\1\s\TestComplete\BusinessAutomacao\BusinessAutomacao.pjs' searchFolder: 'C:\agent\_work\1\s\TestComplete\BusinessAutomacao\' vsTestVersion: 'toolsInstaller'
Related Content
Recent Discussions
- 3 hours ago
- 2 days ago