Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Chiusa
#6,385 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #7049 di @kyle-sexton — integrata

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Shell
Stelle
22
Fork
2
Merge medio
8h 41m
PR unite (30g)
892

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.