## [error] ExecutionAndPubli sh .Run: Microsoft.VisualStudio.TestService.VstestAdapter.TestsNotFoundException в конвейере выпуска - PullRequest
0 голосов
/ 22 января 2020

Я создал конвейер выпуска в Azure DevOps. Этот конвейер запускается из Запустить с параметрами для автоматического запуска. Также был создан проект UnitTest и dll проекта связан с тестовым набором.

Когда тестовый сценарий запускает конвейер освобождения, задачи VSTest Run завершаются с ошибкой ниже:

[error]ExecutionAndPublish.Run : Microsoft.VisualStudio.TestService.VstestAdapter.TestsNotFoundException: No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria. Verify that test assemblies are present on the machine and test filter criteria is correct.

[error]The slice of type 'Execution' is 'Aborted' because of the error : Microsoft.VisualStudio.TestService.VstestAdapter.TestsNotFoundException: No test assemblies found on the test machine matching the source filter criteria or no tests discovered matching test filter criteria. Verify that test assemblies are present on the machine and test filter criteria is correct.

[error]Test run is aborted. Logging details of the run logs.
[error]System.Exception: The test run was aborted, failing the task.

Как я могу решить эту проблему ?

Спасибо

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...