CPPUnit 中的测试用例选择

发布于 2024-12-03 11:54:49 字数 74 浏览 4 评论 0原文

是否可以像在 NUnit 中一样选择在 CPPUnit 中运行哪些测试用例?可能正在使用一些配置文件?

谢谢,拉克什。

Is it possible to select which test cases to run in CPPUnit like it is done in NUnit? May be using some config file?

Thanks, Rakesh.

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

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

发布评论

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

评论(1

梦中的蝴蝶 2024-12-10 11:54:49

如果您正在寻找可以单击以选择测试的 GUI,则可以使用 MFCTestRunner。

如果您想通过配置文件选择要运行的测试,则必须编辑测试主应用程序。 请参阅此答案,它可能会为您提供如何操作的说明。

You can use the MFCTestRunner if you're looking for a GUI where you can click to select tests.

You'll have to edit your test main application if you want to select which test to run via config file. See this answer that might serve you with a description of how to do it.

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