Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display all pending, passing and error tests in rspec

Tags:

rspec

Every time I run rspec command I get a listed only the pending specs or the ones with errors which is okay.

I need to list all passing tests as well. How this can be done?

I couldn't see to find it by looking into their CLI readme.

like image 846
Martin Avatar asked Feb 06 '13 06:02

Martin


1 Answers

You can try "documentation format"

$ 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
like image 131
ck3g Avatar answered Oct 01 '22 23:10

ck3g