How to report RSpec test results in Test Summary?

ruby
rspec

#1

Right now our (successful) RSpec test results are not reported at all, but are buried inside one of the steps:

...
[01:42:25]: $ bundle exec rake test_all
[01:42:26]: ▸ rspec --pattern ./**/*_spec.rb --format progress
[01:42:48]: ▸ ........................................................[...]
[01:47:49]: ▸ ........................................................[...]
[01:47:49]: ▸ Finished in 5 minutes 20 seconds (files took 3.59 seconds to load)
[01:47:49]: ▸ 4713 examples, 0 failures
...

Is there a way to get this last line into the Test Summary on the test run page?


#2

The solution to this was to fix our generated of the test report as a file, then upload that file with store_test_results. Now we have

Your build ran 4718 tests in RSpec with 0 failures
Slowest test: … (took 10.01 seconds).

in the Test Summary tab :+1:


#3

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.