rspec
Behavior-driven development testing framework written in Ruby to test Ruby code. More information: https://rspec.info/features/3-13/rspec-core/command-line/.
- Initialize an
.rspecconfiguration and a spec helper file:
rspec --init
- Run all tests:
rspec
- Run a specific directory of tests:
rspec
- Run one or more test files:
rspec
- Run a specific test in a file (e.g. the test starts on line 83):
rspec :
- Run specs with a specific seed:
rspec --seed
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
