那么,怎样定义小部件测试呢?
因此,需要借助DOH来处理浏览器内的小部件测试及异步函数测试。
So, enter the DOH and its facility for handling widget testing in browsers as well as synchronous function testing.
既然它们已经被定义完毕,我们不妨来实施单元测试来执行函数及小部件以确保它们能像预期的那样运行。
Now that they have been defined, it would be great to implement unit tests that exercise the functions and the widgets to confirm they behave as expected.
应用推荐