To accomplish this, you can wrap the three lines of code produced by the recorder into a separate method in your test script.
要完成这项操作,可以将记录器生成的三行代码封装到测试脚本的某个单独方法中。
Grails tries to wrap each test in a database transaction.
Grails试图在数据库事务中包含所有测试。
Recognize that even this test has a weakness, since it assumes that phrases will include spaces and can word wrap; this is not true for some non-Latin character-based languages.
要知道甚至这个测试都有缺点,因为它假定短语包括空格并且可以自动换行;但对于一些基于非拉丁字符的语言,情况并非如此。
Create a program, that is, an executable file, to wrap as a generic test.
创建一个程序(即一个可执行文件)来作为一般测试进行包装。
Next, edit the program you will wrap as your generic test.
接下来,请编辑要包装为一般测试的程序。
Check the clutch is thoroughly: the car ladder teams up, twist, put the clutch wrap shift test.
检查离合器分离是否彻底:将车梯支起,拧放离合器握把,进行换档试验。
Finally, create the generic test itself to wrap your existing program.
最后,请建立一般测试,以包装现有的程序。
You can then wrap this program as a generic test.
将该项目置入程序中之后,便可将此程序包装为一般测试。
You can then wrap this program as a generic test.
将该项目置入程序中之后,便可将此程序包装为一般测试。
应用推荐