Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
borderColor#888888#C3CCD7
bgColor#FCFCFC

Table of Contents

Table of Contents
indent16px

On test files, the Component viewer shows different data than for source files:

Image Removed

Coverage per tests

Similarly, the Show details option offers If "coverage per test" information is available, the test tab can show additional information and allow you to navigate from the test file to the source files that it covers:

Image Removed

The objective of this tab is to answer the following questions:


  • Which files are covered by a given unit test?
  • How many lines of code are covered by a given test

    테스트 파일의 경우, 컴포넌트 뷰어(component viewer)는 일반 소스 파일과 다른 정보를 표시합니다:

    Image Added

    테스트 케이스 별 커버리지

    마찬가지로,Show details 옵션에서도 가능한 경우 "테스트 케이스 별 커버리지(coverage per test)" 정보를 표시합니다. Test 탭은 추가적인 정보를 표시하고, 사용자는 테스트 파일이 커버하는 소스 파일을 탐색할 수 있습니다:

    Image Added

    이 탭은 다음 질문에 대한 해답을 제공합니다:

    • 특정한 단위 테스트(unit test)가 커버하는 파일은 무엇인가?
    • 특정한 단위 테스트(unit test)를 통해 얼마나 많은 코드라인이 커버되는가?