To run this unit test, create a run configuration for the unit test class as a test: : unit type.
要运行这个单元测试,应该为单元测试类创建一个Test: Unit类型的Run配置。
When Grails created the service for you, it added the corresponding test to the test/unit directory.
当 Grails 为您创建服务时,它将把相应的测试添加到 test/unit 目录。
When using these test stubs, "require 'test/unit'" does not need to be specified.
在使用这些测试存根时,不需要指定 “require 'test/unit'”。
So here's my unit test procedure.
所以这就是我的单元测试流程。
Because it will be easier to unit test.
因为这样做单元测试比较容易。
So it's got an internal procedure,internal function, local to the unit test, that runs the simulation.
它有内部过程,内部函数,它对unit,test来说是有本地环境,来支持股票仿真程序的运行。
应用推荐