dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.17k stars 5.83k forks source link

Document testing source generators #24796

Open Youssef1313 opened 3 years ago

Youssef1313 commented 3 years ago

Testing is briefly documented in the cookbook, but it should be documented in docs.microsoft.com for discoverability (and in a little bit more details than cookbook).

I'm not sure whether this should be part of this article, or if it should be a new article.

Note: if https://github.com/dotnet/roslyn-sdk/issues/873 is likely to be fixed soon, the docs should be using the template for the article.

cc @BillWagner @mikadumont @sharwell


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

BillWagner commented 3 years ago

Adding @jmarolf for planning purposes.

333fred commented 1 year ago

I think it should also be mentioned as part of https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/source-generators-overview#get-started-with-source-generators that, beyond the simple scenario shown, testing is the recommended way of developing a source generator.