docs: write docs/testing.md covering the test projects and the headless render harness
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 88/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- csharp
- Ambito
- documentation
Direzione di ricerca
Inizia da CONTRIBUTING.md, Makefile:49, tests/LageBuch.Acceptance.Tests/TestAppBuilder.cs e BitmapSaveExtensions.cs; esamina gli otto progetti sotto tests/ e i relativi assembly sotto src/. Esegui ogni comando documentato, incluso l’esempio circoscritto di make test ed entrambi i target di test. Il lavoro è completo quando docs/testing.md spiega la struttura del progetto, il filtraggio, il rendering headless, l’ispezione dei PNG e la suddivisione di xunit, con un link dalla sezione di compilazione e test di CONTRIBUTING.md.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
CONTRIBUTING.md tells you to run dotnet test and stops there. The repo
actually has eight test projects, a Makefile front end for narrowing a run, and
a headless Skia harness that renders real Avalonia views to bitmaps. None of
that is written down.
What to do
Write docs/testing.md covering:
- The eight projects under
tests/, one persrc/assembly, and what kind
of test belongs in each. - Narrowing a run.
make test PROJECT=tests/LageBuch.Domain.Tests FILTER=Name~Formatting.
Explain whyPROJECTis needed when filtering: a bareFILTERfails in
assemblies that match nothing. The comment atMakefile:49says so. make testversusmake test-all— the first uses the solution filter
without the Android head, so it works on machines whose JDK is too new.- The headless render harness at
tests/LageBuch.Acceptance.Tests/TestAppBuilder.cs.
ExplainUseHeadlessDrawing = false: it keeps the real Skia backend so
embedded custom fonts rasterize, and the default headless stub throws on first
text layout instead. The comment in that file explains it. - Eyeballing render output with the PNG helpers in
BitmapSaveExtensions.cs. - The xunit version split —
LageBuch.Acceptance.Testsis on xunit.v3, the
others on v2.
Add a link to the new page from the build-and-test section of CONTRIBUTING.md.
Verify
Run every command you put in the document and confirm the output matches what
you wrote.
Difficulty: easy. A good issue if you would rather read a codebase than
change one.
New here?
Comment to claim this issue and it is yours. If no pull request appears within
seven days it goes back in the pool, no hard feelings.
Before you open the PR, please skim CONTRIBUTING.md:
commits need DCO sign-off (git commit -s) and a Conventional Commit subject.
Changes under src/ additionally need an entry under ## [Unreleased] in
CHANGELOG.md — CI fails the PR otherwise.
Questions are welcome right here or in
Discussions.
- Lingua principale
- C#
- Stelle
- 1
- Fork
- 3
- Merge medio
- 4h 49m
- PR unite (30g)
- 177
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CodeForFire/lagebuch
-
Stammdaten: in the Checkliste editor the PFLICHT header is not aligned with its columnForse già presa @Saad-elnagar l’ha presa 1 giorno fa. Apertabug ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CodeForFire/lagebuch#714 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Stammdaten: on a phone the Fahrzeuge editor squeezes Wache and Funkrufname to nothingForse già presa @Saad-elnagar l’ha presa 1 giorno fa. Apertabug ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
CodeForFire/lagebuch#713 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
CodeForFire/lagebuch#405 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
CodeForFire/lagebuch#348 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue ux
Difficoltà 1/5 1-3 ore Idoneità per principianti 91/100
CodeForFire/lagebuch#347 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di CodeForFire/lagebuch
Issue simili
-
[Bug]: Revit selector reads process ids 2000-2099 as years (flaky AgentClientTests.AYearOrAProcessIdSelectsTheHost)Forse già presa @Wurschdhaud l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
pyrevitlabs/pyRevit#3817 ·
I maintainer di solito rispondono entro 1 giorno
-
bug effort:S P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
nightscout/nocturne#2449 ·
I maintainer di solito rispondono entro 1 giorno
-
audit:1 bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
NethermindEth/dotnet-libp2p#395 ·
I maintainer di solito rispondono entro 1 giorno
-
area: client bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug mcp misleading small
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno