Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting coverage reports after upgrading from rails 5 to rails 6 #599

Open
vinod-gatadi opened this issue Jul 7, 2023 · 3 comments
Open

Comments

@vinod-gatadi
Copy link

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.

@mathieujobin
Copy link
Collaborator

I haven't found a solution for this. We continue using it without coverage...
Then when we included hotwire in rails, upgrading to sprockets 4, it broked teaspoon entirely.

I'm afraid not enough users and maintainers are available to make it usable again.

if no one steps in to help, this gem will officially become abandonned/unmaintained

@hudakh
Copy link

hudakh commented Feb 18, 2024

Same here. Any update?

@mathieujobin
Copy link
Collaborator

I'm afraid we are very few users of teaspoon left.
if you find a fix and are willing to open a PR, I can review and release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants