Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有替代方法来测试 VS 2010 扩展项目?现在我必须旋转一个新的 VS 2010 实例并等待。这需要几分钟,并且很想知道是否有另一种快速完成的方法。
根据您用于创建包的项目类型(空 VSIX 容器或 SDK 中的扩展项目之一,如 Editor Margin、Text Adornment、ViewPort Adornment 等),它会询问您是否要创建单元/集成测试。
集成测试提供了模拟 shell 的所有方法,并允许您在不实际启动 UI 的情况下进行测试。当然,这取决于您是否需要进行任何视觉验证,但如果您正在测试包负载、服务调用以及其他几乎任何东西,那就太好了。
让我知道事情的后续。