在 Visual Studio 2008 Professional 中单击 F5 时如何运行所有测试

发布于 2024-08-18 04:36:14 字数 293 浏览 1 评论 0原文

我在 Visual Studio 2008 professional 中有一个解决方案。共有三个项目,一个 Windows Form 项目和两个 MSTEST 项目。 Windows 窗体项目设置为启动。

当我单击 F5 以调试模式运行 Windows 窗体项目时,我希望从两个 MSTEST 项目中运行所有测试。

我尝试在启动时启动所有三个项目,但在单击 F5 时收到一条错误消息,表明一次只能运行一个测试结果。 Windows 窗体项目运行了,第一个 MSTEST 项目也运行了。

我想做的事情可能吗?如果可以,怎么做?

I have a solution in Visual Studio 2008 professional. There are three projects, a Windows Form project and two MSTEST projects. The Windows Form project is set as the startup.

When I click F5 to run the Windows Form project in debug mode, I would like to get all the tests to run from both MSTEST projects.

I tried starting all three projects on startup, but got an error message when clicking F5 that only one test result can run at a time. The Windows Form project ran and so did the first MSTEST project.

Is what I want to do possible and if so, how?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

謸气贵蔟 2024-08-25 04:36:14

根据我针对此问题收到的风滚草徽章,可能无法执行此操作。

Based on the tumbleweed badge I received for this question, it might not be possible to do this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文