我希望测试报告所有断言和验证。因此,mockk
验证和断言库(在这种情况下,KotlinTest
)断言都应该运行,而不是短路。
换句话说,我不想停止测试...
verify(exactly = 1) { mock.methodcall(any()) } // ... here
success shouldBe true // how can I check this line too
也不...
success shouldBe true // ... here
verify(exactly = 1) { mock.methodcall(any()) } // how can I check this line too
如何执行此操作?我愿意只使用一种工具。