Panel | ||||
---|---|---|---|---|
| ||||
Table of Contents
|
If coverage information is available on your project, then the component viewer can help you visualize where combined test coverage is missing.
Coverage information is conveyed via color:
Coverage per tests
For Java projects using JaCoCo, it's possible to have "coverage per test" information. This includes:
- Displaying the number of different tests that cover a specific line
- Listing those tests
- Being able to navigate to the test files that define those tests
These things are shown in a popup when you click on the coverage indicator. Clicking on a link in the popup window opens the test file in a pinned window프로젝트에서 커버리지 정보를 사용할 수 있다면, 컴포넌트 뷰어에서 커버리지를 달성하지 못한 영역을 시각적으로 표시할 수 있습니다.
커버리지 정보는 다음과 같은 색상으로 제공합니다:
테스트 케이스 별 커버리지
JaCoCo를 사용하는 Java 의 경우, "ceverage per test" 정보를 활용할 수 있습니다. 다음을 포함합니다:
- 하나의 특정 라인을 커버하는 서로 다른 테스트 케이스의 수를 표시
- 해당 테스트 케이스의 목록 표시
- 해당 테스트 케이스가 정의된 테스트 파일 탐색
상기 정보들은 coverage 인디케이터를 클릭하면 나타나는 팝업 윈도우에 표시됩니다. 팝업 윈도우의 링크를 클릭하면 별도의 윈도우에서 테스트 케이스 파일을 확인할 수 있습니다.