dotnet/roslyn

Improve docs for testing source generators

Open

#58,945 建立於 2022年1月19日

在 GitHub 查看
 (18 留言) (8 反應) (1 負責人)C# (4,257 fork)batch import
Area-CompilersDocumentationhelp wanted

倉庫指標

Star
 (20,414 star)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 256 個 PR)

描述

The current docs for tests for source generators is missing some important information about testing. For example, how to add references to the compilation. The current example is a good quick start but is not enough.

Docs link: https://github.com/dotnet/roslyn/blob/main/docs/features/source-generators.cookbook.md#unit-testing-of-generators

貢獻者指南