dotnet/roslyn

Improve docs for testing source generators

Open

#58.945 aberto em 19 de jan. de 2022

Ver no GitHub
 (18 comments) (8 reactions) (1 assignee)C# (4.257 forks)batch import
Area-CompilersDocumentationhelp wanted

Métricas do repositório

Stars
 (20.414 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)

Description

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

Guia do colaborador