随着我们的应用程序接近生产就绪,我们编写了许多规范测试。最初我们bundle exec rspec spec/myspec_spec.rb用于运行单个文件。当我尝试该origen specs命令时,它没有像我预期的那样重新识别该命令。
peologin02:ppekit $ origen specs
Error: Command not recognized: specs
Usage: origen COMMAND [ARGS]
The core origen commands are:
environment Display or set the environment (short-cut alias: "e")
target Display or set the target (short-cut alias: "t")
mode Display or set the mode (short-cut alias: "m")
plugin Display or set the plugin (short-cut alias: "pl")
generate Generate a test pattern (short-cut alias: "g")
program Generate a test program (short-cut alias: "p")
interactive Start an interactive Origen console (short-cut alias: "i")
compile Compile a template file or directory (short-cut alias: "c")
exec Execute any Ruby file with access to your app environment
rc Revision control commands, see -h for details
save Save the new or changed files from the last run or a given log file
lsf Monitor and manage LSF jobs (short-cut alias: "l")
web Web page tools, see -h for details
time Tools for test time analysis and forecasting
lint Lint and style check (and correct) your application code
我在主网站上没有看到任何关于规格测试的信息。
谢谢