首先定义一个HTML文件来实例化此doh、小部件,然后定义要执行的测试函数。
Well, you define an HTML file that instantiates the DOH, instantiates widgets, then defines the test functions to execute.
您只需将测试函数传递给getTestCallback,而它反过来包含了所想执行的断言。
You just need to pass your test function to getTestCallback, which, in turn, contains the assertions that you want to execute.
您只需将测试函数传递给getTestCallback,而它反过来包含了所想执行的断言。
You just need to pass your test function to getTestCallback, which, in turn, contains the assertions that you want to execute.
应用推荐