如何AsMock融入AsUnit 4?AsMock、AsUnit

2023-09-08 15:26:35 作者:溺深海

尝试更新AsMock嘲讽框架V.1.0,并用它与AsUnit 4.但是,在运行时获得的VerifyError(1153,inacceptible覆盖)在与行[RunWith(asmock.integration.asunit.ASMockRunner) ]元标记中的测试用例类。我用的是FlashDevelop作为一个IDE。不知道,什么是错的。谁能帮忙?

解决方案

AsUnit 4的支持,增加它离开测试版之前,所以它看起来像的API已经改变了。我会看看到它。在此期间,我建议将这个bug来 asMock的bug跟踪系统。

Trying to update AsMock mocking framework to v.1.0, and use it with AsUnit 4. But in runtime get a VerifyError (1153, inacceptible override) at the line with [RunWith("asmock.integration.asunit.ASMockRunner")] metatag in the test case class. I use FlashDevelop as an IDE. Have no idea, what's wrong. Could anyone help?

解决方案

AsUnit 4 support was added before it left beta, so it looks like the APIs have changed. I'll have a look into it. In the meantime, I'd recommend adding this as a bug to asMock's bug tracker.

相关推荐
 
精彩推荐
图片推荐