dotnet/roslyn

Improve docs for testing source generators

Open

#58,945 opened on 2022年1月19日

GitHub で見る
 (18 comments) (8 reactions) (1 assignee)C# (4,257 forks)batch import
Area-CompilersDocumentationhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (平均マージ 6d 17h) (30d で 256 merged PRs)

説明

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

コントリビューターガイド