docs: write docs/testing.md covering the test projects and the headless render harness
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp
- Área
- documentation
Línea de trabajo
Empieza por CONTRIBUTING.md, Makefile:49, tests/LageBuch.Acceptance.Tests/TestAppBuilder.cs y BitmapSaveExtensions.cs; inspecciona los ocho proyectos de tests/ y sus ensamblados correspondientes de src/. Ejecuta todos los comandos documentados, incluido el ejemplo acotado de make test y ambos objetivos de pruebas. El trabajo estará terminado cuando docs/testing.md explique la estructura del proyecto, el filtrado, la renderización headless, la inspección de PNG y la división de xunit, y haya un enlace desde la sección de compilación y pruebas de CONTRIBUTING.md.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 1
- Forks
- 3
- Merge medio
- 4 h 49 min
- PR fusionados (30 d)
- 177
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CodeForFire/lagebuch
-
Stammdaten: in the Checkliste editor the PFLICHT header is not aligned with its columnPosiblemente ocupada @Saad-elnagar la tomó hace 1 día. Abiertobug ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CodeForFire/lagebuch#714 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Stammdaten: on a phone the Fahrzeuge editor squeezes Wache and Funkrufname to nothingPosiblemente ocupada @Saad-elnagar la tomó hace 1 día. Abiertobug ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
CodeForFire/lagebuch#713 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
CodeForFire/lagebuch#405 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
CodeForFire/lagebuch#348 ·
Los mantenedores suelen responder en 1 día
-
good first issue ux
Dificultad 1/5 1-3 horas Aptitud para principiantes 91/100
CodeForFire/lagebuch#347 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CodeForFire/lagebuch
Issues similares
-
area: client bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug mcp misleading small
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hazeliscoding/gil-sweep#25 ·
Los mantenedores suelen responder en 1 día
-
Bug Platform: Android
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
getsentry/sentry-dotnet#5764 · 1 comentario ·
Los mantenedores suelen responder en 1 día