You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: