Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

testing: decide on MSTest IsNotNull(typeof/nameof) and Assert.Equal/NotEqual/Same typeof forms in the cannot-fail audit

Đã đóng
#7,058 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Một pull request liên quan đã được merge.

  • #7858 của @melodic-automation-lanes — đã merge

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
testing

Hướng nghiên cứu

The payload names no files or tests. Start by reading #6040 and #7049 to find the slice B review note on the MSTest and xUnit typeof/nameof assertion forms. Done means an owner has either chosen to flag these forms under a new rule id or closed the issue as not planned. Do not start implementing a rule before that decision.

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

Mô tả

needs-triage

Refs: #6040, #7049

A review note from slice B of #6040 was never decided. Should the C# cannot-fail audit flag these forms, or should the idea be dropped?

  • MSTest Assert.IsNotNull(typeof(X)) / Assert.IsNotNull(nameof(X))
  • Assert.Equal / Assert.NotEqual / Assert.Same where one or both operands are typeof(...)

PR #7049 closes #6040, so this issue keeps the note from getting lost. It needs an owner decision before any work: flag the forms (and pick a rule id), or close this as not planned.

Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
8 giờ 44 phút
Pull request đã merge (30 ngày)
926

Chuẩn bị môi trường

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 melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

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.