dotnet/roslyn

Improve docs for testing source generators

Open

#58 945 ouverte le 19 janv. 2022

Voir sur GitHub
 (18 commentaires) (8 réactions) (1 assigné)C# (4 257 forks)batch import
Area-CompilersDocumentationhelp wanted

Métriques du dépôt

Stars
 (20 414 stars)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

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

Guide contributeur