rspec-core icon indicating copy to clipboard operation
rspec-core copied to clipboard

Show number of assertions in output.

Open utkarshkukreti opened this issue 12 years ago • 45 comments
trafficstars

I searched around, but couldn't find a way to do it. Something like:

1 example, 0 failures, 3 assertions

In this question, @dchelimsky suggested to open a feature request, so here I am :smiley_cat:

Edit: @xaviershay's summary of comments below as of Jan 2017:

  • Proposed API: https://github.com/rspec/rspec-core/issues/740#issuecomment-15700039
  • External gem that claims to do this (I haven't verified): https://github.com/bootstraponline/rspec_expectation_count

utkarshkukreti avatar Nov 26 '12 11:11 utkarshkukreti