If the test method does not run as anticipated, we will get an error (and a traceback describing the error).
如果测试方法没有按预期运行,我们将得到一个错误(以及描述这个错误的回溯)。
So the UI test automation will not catch the logic error if the application has the wrong method wired to a button click event (although every test would fail and you'd find the problem quickly).
所以如果应用程序为按钮单击事件关联了错误的方法,UI测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
You can couple this feature with the Zend_Soap_Server's registerFaultException() method to test the request data provided by the client, and send back a SOAP fault under various error scenarios.
您可以将这个特性与 Zend_Soap_Server 的 registerFaultException() 函数结合,用于测试客户端所提供的请求数据,然后为不同的错误情况返回一个 SOAP 错误信息。
应用推荐