NUnit 또는 SpecFlow 문제인지 여부는 확실치 않지만 'Run Functional Tests'태스크를 빌드에 추가 할 때마다 TFS2017에서 빌드를 실행할 때 다음 오류가 발생합니다. ..TFS2017에서 NUnit/SpecFlow 테스트 실행
2017-05-06T00:11:00.4676774Z ##[warning]DistributedTests: Test discovery started.
2017-05-06T00:11:00.4676774Z ##[warning]DistributedTests: Test Run Discovery Aborted . Test run id : 5
2017-05-06T00:11:00.4676774Z ##[warning]DistributedTests: UnExpected error occured during test execution. Try again.
2017-05-06T00:11:00.4676774Z ##[warning]DistributedTests: Error : NUnit Adapter 3.7.0.0: Test discovery complete
2017-05-06T00:11:00.4676774Z
2017-05-06T00:11:00.4676774Z ##[warning]DistributedTests: Test run aborted. Test run id: 5
2017-05-06T00:11:00.4676774Z ##[error]System.Exception: The test run was aborted, failing the task.
2017-05-06T00:11:00.5175379Z ##[error]PowerShell script completed with 1 errors.
누구에게 문제가 있는지 알고 있습니까?
많은 감사,
로컬에서 테스트를 성공적으로 수행 할 수 있습니까? 그리고 어떤 버전의 VS 및 테스트 에이전트를 사용하고 있습니까? –
문제가 무엇인지 잘 모르지만 MSTest로 전환하면 문제가 해결 된 것으로 보입니다 – Konzy262
speckflow를 사용하는 경우 MS Test를 사용하여 구현해야합니다. 당신은 SpecFlow를 위해 당신이 사용하는 단위 테스트를 위해서 같은 어댑터가 필요합니다. 자세한 내용은 내 답장을 아래에서보십시오. –