MbUnit - 从SetUp方法中终止测试

时间:2012-06-05 12:58:36

标签: c# mbunit gallio

我希望使用SetUp方法中的特定结果终止我的测试。

我已经尝试了SilentTestException和Assert.Terminate以及Assert.TerminateSilently但是实际的Test方法似乎无论如何都要执行。

您可以使用以下代码重现此行为:https://gist.github.com/2857816

我错过了什么吗?