Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

docs: write docs/testing.md covering the test projects and the headless render harness

オープン 初心者向け
#349 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
88/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp
領域
documentation

調査の方向性

まず CONTRIBUTING.md、Makefile:49、tests/LageBuch.Acceptance.Tests/TestAppBuilder.cs、BitmapSaveExtensions.cs を確認し、tests/ 以下の8つのプロジェクトと、それに対応する src/ のアセンブリを調べます。絞り込んだ make test の例と両方のテストターゲットを含め、ドキュメントに記載されたすべてのコマンドを実行します。docs/testing.md でプロジェクトの構成、フィルタリング、headless レンダリング、PNG の検査、xunit の分割について説明し、CONTRIBUTING.md のビルドとテストのセクションからリンクされていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

documentation good first issue

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 per src/ assembly, and what kind
    of test belongs in each.
  • Narrowing a run. make test PROJECT=tests/LageBuch.Domain.Tests FILTER=Name~Formatting.
    Explain why PROJECT is needed when filtering: a bare FILTER fails in
    assemblies that match nothing. The comment at Makefile:49 says so.
  • make test versus make 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.
    Explain UseHeadlessDrawing = 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.Tests is 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.

主要言語
C#
スター
1
フォーク
3
平均マージ
4時間 49分
マージ済み PR(30日)
177

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeForFire/lagebuch のほかの issue

CodeForFire/lagebuch の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。