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

Allow report to be generated from a swift package with no Xcode project

Aperta
#466 5 commenti 28 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
ruby, swift

Direzione di ricerca

Read the Slather entry points that enforce the Xcode project requirement and trace how report inputs are parsed. The issue points to coverage output from swift test --enable-code-coverage in .build/debug/codecov, especially the package JSON file. Compare its available coverage data with Slather’s report formats; done means a Swift package without an Xcode project can generate a report from that data.

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

Descrizione

There is a hard requirement for an Xcode project with slather.

Swift packages can generate their code coverage from a command-line build using swift test --enable-code-coverage
with the results written to the .build/debug/codecov folder.

That folder contains three files:

  • PackageName.json
  • default.profdata
  • default_build_ID_.profraw

The information can be parsed from the json file easily enough, and converted to the desired output format.

Lingua principale
Ruby
Stelle
1.6k
Fork
239
Merge medio
1g 9h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 SlatherOrg/slather

Tutte le issue di SlatherOrg/slather

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.