Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

已关闭
#7,058 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #7858 来自 @melodic-automation-lanes —— 已合并

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp
领域
testing

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Shell
星标
22
派生
2
平均合并
7 小时 8 分钟
30 天内合并 PR
874

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。