Counting Tests In Solano CIΒΆ

You may see a different number of tests displayed in Solano CI results than you do from RSpec.

For example:

Test counts

The number of tests passed and failed here represents test script files, while many test frameworks, like RSpec and Test::Unit report “examples” or “test cases”.

For example, running the following RSpec script shows 27 examples:

$ rspec spec/models/user_spec.rb

Finished in 12.7 seconds
27 examples, 0 failures

In Solano CI, it would show up as 1 pass, since the whole script passed.