Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
每次我运行rspec命令时,我都会只列出未决的规范或有错误的规范,这没关系。
rspec
我还需要列出所有通过的测试。如何做到这一点?
通过查看他们的 CLI 自述文件,我无法找到它。
你可以试试“文档格式”
$ rspec -fd spec/ $ rspec --help -f, --format FORMATTER Choose a formatter. [p]rogress (default - dots) [d]ocumentation (group and example names) [h]tml [t]extmate custom formatter class name