Is there a way to get RSpec to report failures as they occur, instead of the long list of green/red dots?
I’m running RSpec 2.5.0.
Is there a way to get RSpec to report failures as they occur, instead
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
RSpec supports multiple output formats, specified with the
--formatoption. The default is “progress”, the string of dots you’re seeing. If you change to a more verbose format, you’ll see the name of the test in red/green as you run, but you still won’t see what the failure was until the summary that’s printed at the end.The other format options, from running
rspec --helpare:In addition to specifying format on the command line, you can put a “.rspec” file in your home directory to specify default options.