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

Remove SimpleCov HTMLFormatter output_path monkey-patch once upstream releases configurable output dir

Aperta
#87 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
ruby
Ambito
testing-qa

Direzione di ricerca

Wait for a SimpleCov release newer than 0.22.0, then start with the test helper's HTMLFormatter setup and the existing output_path monkey-patch. Update the formatter construction to use output_dir: 'build/coverage/html', account for the upstream breaking refactor, and verify the project's tests and generated HTML report.

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

Descrizione

Our test helper monkey-patches SimpleCov::Formatter::HTMLFormatter#output_path to nest the HTML report under build/coverage/html, because SimpleCov hardcodes the HTML output directory to SimpleCov.coverage_path with no config option (as of simplecov 0.22.0 / simplecov-html 0.13.2).

Upstream has fixed this in simplecov-ruby/simplecov#1165 ("Simplify formatter architecture", merged 2026-05-04), which adds an output_dir: keyword to the formatter constructor. It is merged but not yet released — the latest release is still 0.22.0.

Action: once SimpleCov ships a release newer than 0.22.0, drop the monkey-patch and pass output_dir: 'build/coverage/html' to HTMLFormatter.new instead. Note that release is a breaking refactor (HTML report becomes a client-side JS app, simplecov-html folded into core, config DSL deprecations), so the upgrade is more than just removing the patch.

Lingua principale
Ruby
Stelle
6
Fork
2
Merge medio
11m
PR unite (30g)
2

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 zitadel/client-ruby

Tutte le issue di zitadel/client-ruby

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.