8000 Not getting coverage reports after upgrading from rails 5 to rails 6 · Issue #599 · jejacks0n/teaspoon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Not getting coverage reports after upgrading from rails 5 to rails 6 #599
Open
@vinod-gatadi

Description

@vinod-gatadi

Hi,
I am using Rails 5.2.8 + angular JS application. We are using a gem "teaspoon-jasmine" for handling unit test cases for angular app.
Everything is working fine till today. Now, I am trying to update from Rails 5 to 6.
Updated my Gemfile as per guide gem 'rails', '~> 6.0'.
Now all are working fine. App is fine. Jasmine test cases are also success. But unable to generate coverage reports.
Getting below message on running the case
RAILS_ENV=test bundle exec teaspoon --coverage=default

Finished in 11.10300 seconds
1404 examples, 0 failures
You requested coverage reports, but no results were found. Are all files being ignored in your coverage config? If you have expand_assets set to false, you will need to remove spec_helper from the ignore list.

Checked my teaspoon_env.rb config. It has true value.
suite.expand_assets = true.

When I revert back to rails 5, everything is fine again. Do we have any solution for Rails 6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0