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

贡献者指南