To accomplish this, you can wrap the three lines of code produced by the recorder into a separate method in your test script.
要完成这项操作,可以将记录器生成的三行代码封装到测试脚本的某个单独方法中。
2
Grails tries to wrap each test in a database transaction.
Grails试图在数据库事务中包含所有测试。
3
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.