NUNIT 및 Partcover를 사용하여 팀 시티에서의 적용 범위를 생성 할 수 없습니다

StackOverflow https://stackoverflow.com//questions/20041630

  •  21-12-2019
  •  | 
  •  

문제

팀 시티 버전 8.0.4를 사용하고 있습니다.

NUNIT Runner와 PartCover를 적용 도구로 사용하는 빌드 스텝이 있습니다.

여기에 설명 된 단계 ( http://www.jeremyskinner.co.uk/2010/07/23/using-teamcity-with-partcover-4/a> ).즉, PartCover.dll을 복사하고 적절하게 이름을 바꾸고 블로그에 연결된 XSLT를 사용했습니다.

"포함 어셈블리"필드 만 다음과 같습니다.

[*]*
.

"어셈블리 제외"필드는 다음과 같습니다.

[*.Tests]*
.

My Build Log 테스트를 올바르게 실행 한 후 다음 메시지를 가져옵니다.

No executable code was detected. 
The issue could be caused by one of the following:
- Include / exclude patterns are incorrect
- Assemblies are compiled without debugging information
- .pdb files are not available
- Visual Studio code coverage is enabled for MSTest
- .testrunconfig is used for MSTest and Visual Studio code coverage is not disabled (CodeCoverage section with enable="true" is present)
.

누구나 내가 뭘 잘못하고 있는지 알고 있니?

도움이 되었습니까?

해결책

Partcover를 설치하지 않고 다시 설치했으며 이제는 작동하는 것 같습니다.나는이 문제가 안정적인 릴리스 대신에 Partcover의 베타 버전을 사용하고 있었다고 생각합니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top