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

feat(testing): read Reqnroll [Then] steps as test starts in the cannot-fail scan

Đã đóng
#6,385 1 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.

  • #7049 của @kyle-sexton — đã merge

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
testing, testing-qa

Hướng nghiên cứu

Find the C# cannot-fail scan that already includes *StepDefinitions.cs (from #6342) and how it currently decides a test start. Treat only Reqnroll [Then] methods as starts so those files emit test blocks; [Given]/[When] must not. Add a corpus pair that shows a [Then] with no assertion reporting rule-zero-assertion and Given/When reporting nothing.

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

Mô tả

good first issue needs-triage priority: medium

Summary

Treat a Reqnroll [Then] step method as a test start in the cannot-fail scan, so step-definition files yield test blocks and [Then] methods with no assertion are reported.

Context

#6342 (merged, testing 0.22.17) made the C# adapters scan *StepDefinitions.cs, but no step attribute is a test start yet, so step files yield zero test blocks. Per the "Operator decision" comment on #6040, only [Then] methods should start a test; [Given] and [When] should not. Refs #6040.

Done when

  • A [Then] method with no assertion reports rule-zero-assertion.
  • [Given] and [When] methods report nothing.
  • A corpus pair covers both cases.
Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
8 giờ 34 phút
Pull request đã merge (30 ngày)
946

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.