angular / angular/angular-cli

Option for Istanbul coverage to include all source files (as opposed to only files loaded during test)

Đang mở
#1,735 26 bình luận 25 reaction 0 người được giao Xem trên GitHub
area: @angular-devkit/build-angular devkit/build-angular:karma feature feature: under consideration
Ngôn ngữ chính
TypeScript
Star
27k
Fork
11.8k
Merge trung bình
14 giờ 23 phút
Pull request đã merge (30 ngày)
162

Mô tả

> ## Please provide us with the following information:
1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Any
2. Versions. Please run `ng --version`. If there's nothing outputted, please run
in a Terminal: `node --version` and paste the result here:

angular-cli: 1.0.0-beta.11-webpack.2
node: 6.2.2
os: linux x64
1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

Create an application. Test some, but not all of the source files. Generated coverage will not include files that were not loaded by the tests.
1. The log given by the failure. Normally this include a stack trace and some
more information.

N/A
1. Mention any other details that might be useful.

> ---
>
> Thanks! We'll be in touch soon.

Similar to gotwarlost/istanbul#275 and karma-runner/karma-coverage#125

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện hành vi với angular-cli 1.0.0-beta.11-webpack.2 bằng cách chỉ kiểm thử một số tệp mã nguồn, sau đó theo dõi cách CLI tạo coverage. Đọc các issue Istanbul và karma-coverage được liên kết để biết hành vi dự kiến của tùy chọn. Hoàn tất khi coverage có thể tùy chọn bao gồm các tệp mã nguồn mà các bài kiểm thử không tải.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
cli, testing-qa
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.