Allow control of merged coverage results behaviour

Đang mở
#31 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

@jakubch1 đang làm issue này rồi.

Từ ngày 1/11/2022.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

As per https://developercommunity.visualstudio.com/t/running-multiple-test-assemblies-at-the-same-time/1688096

@MarcoRossignoli

For the moment, we don’t offer a way to disable the merging. Can you open an issue on https://github.com/microsoft/vstest/issues so we can collect the community interest on this feature and prioritize it? Can you also explain, if possible, what’s your scenario and the reason not to have a merged global report?

Steps to reproduce

Create two test projects each with runsettings specifying different results directories and run tests at the same time.

Expected behavior

Separate results

Actual behavior

There is only a single merged results.

Scenario

Currently I am a contributor to a code coverage vs extension that is triggered by the test explorer and will create individual cobertura files for each project ( by running OpenCover or Coverlet for each test project ) that can be viewed by the developer if required. These cobertura files are then used to create a single merged html report.
The extension will shortly permit using Ms code coverage over the existing tools.

So ultimately a merged report is what I require but for consistency I would like the individual results given that vstest has access to them.

Ngôn ngữ chính
C#
Star
125
Fork
17
Merge trung bình
1 giờ 17 phút
Pull request đã merge (30 ngày)
2

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/codecoverage

Tất cả issue của microsoft/codecoverage

Issue tương tự

Thêm issue về C#

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.