如何让 Gallio 记住在重新加载测试资源管理器 TreeView 时要运行哪些类别的测试?

发布于 2024-09-19 18:04:36 字数 203 浏览 3 评论 0原文

如果我在 Gallio 中加载了一个程序集,并且选择了几个测试并单击“开始”,它将运行这些测试,并且仍然记住选择了哪些测试。

另一方面,如果我点击“重新加载”,它会忘记我选择了哪些测试(使得该功能有点无用)。有什么办法可以防止这种行为吗?我在多个类别中定义了测试,并且在 Visual Studio 中编译项目时,我希望始终自动运行“单元测试”类别测试。

谢谢

If I have a loaded assembly in Gallio, and I select a couple of Tests and click "Start" it will run those tests and still remember which tests were selected.

On the other hand, if I hit "Reload", it will forget which tests I had selected (rendering the feature kinda useless). Is there any way to prevent this behaviour? I have my tests defined in several categories, and I want to always automatically run the "Unit-Test" category tests, when compiling my project in Visual Studio.

Thanks

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

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

发布评论

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

评论(2

叹沉浮 2024-09-26 18:04:36

这是 Icarus 测试运行程序中的一个已知错误(请参阅问题 707)。目前我不知道有任何解决方法,但希望很快就能修复。

This is a known bug in Icarus test runner (see issue 707). I'm not aware of any workaround for the moment, but it should hopefully be fixed soon.

少女七分熟 2024-09-26 18:04:36

这是在主干中修复的,应该会在下一个版本中出现。

This is fixed in the trunk, and should be in the next release.

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