你的位置: 码友网首页 / 资讯源列表 / Integration testing and NuGet packaging: Creating a source generator - Part 3

关于[Integration testing and NuGet packaging: Creating a source generator - Part 3]的摘要:

In the first post in this series, I described how to create a .NET 6 incremental source generator, and in the second post I described how to unit-test your generators using snapshot testing with Verify. These are essential first steps to building a source generator, and the snapshot testing provides a quick, easily-debuggable testing approach.

原文地址: https://andrewlock.net/creating-a-source-generator-part-3-integration-testing-and-packaging/

收录时间: 2021-12-22 浏览量: 1467 分类: .NET

| 0 收藏 | 0