docs: write docs/testing.md covering the test projects and the headless render harness
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 88/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với CONTRIBUTING.md, Makefile:49, tests/LageBuch.Acceptance.Tests/TestAppBuilder.cs và BitmapSaveExtensions.cs; kiểm tra tám dự án trong tests/ cùng các assembly tương ứng trong src/. Chạy mọi lệnh được ghi trong tài liệu, bao gồm ví dụ make test có phạm vi thu hẹp và cả hai mục tiêu kiểm thử. Công việc hoàn tất khi docs/testing.md giải thích bố cục dự án, cách lọc, kết xuất headless, kiểm tra PNG và cách phân chia xunit, đồng thời có liên kết từ phần build và kiểm thử của CONTRIBUTING.md.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 1
- Fork
- 3
- Merge trung bình
- 4 giờ 34 phút
- Pull request đã merge (30 ngày)
- 182
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodeForFire/lagebuch
-
bug ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CodeForFire/lagebuch#714 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
CodeForFire/lagebuch#713 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
CodeForFire/lagebuch#405 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
CodeForFire/lagebuch#348 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue ux
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 91/100
CodeForFire/lagebuch#347 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CodeForFire/lagebuch
Issue tương tự
-
Bug Platform: Android
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsentry/sentry-dotnet#5764 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
microsoft/SimpleL7Proxy#287 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority: P2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
IridiumIO/CompactGUI#699 ·
Maintainer thường phản hồi trong vòng 3 ngày