Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5976733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:16:13+00:00 2026-05-22T21:16:13+00:00

Had been looking at the jsunit and jcoverage demos here ( click on coverage

  • 0

Had been looking at the jsunit and jcoverage demos here (click on coverage report link. Open this in a new tab).

I was wondering if any one had done anything similar with Jasmine and JSCoverage ? I’m a little unsure on how to proceed.

[EDIT]
I am wondering if there is something I can do with a jasmine reporter. My Jasmine “hello world” example makes reference to a TrivialReporter. Maybe this can be extended ??

[EDIT]
I’ve wired up js-test-runner with jasmine right now. Now If I could think of a way to get coverage ??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:16:13+00:00Added an answer on May 22, 2026 at 9:16 pm

    If you’re working on a ruby project and using jasmine via jasmine-gem, I have a patch that adds jscoverage support[1].

    If you’re using bundler, you can use this version of jasmine with the following command in your Gemfile:

      gem 'jasmine',
        :git        => 'git://github.com/hjdivad/jasmine-gem',
        :submodules => true,
        :branch     => 'jscoverage'
    

    Make sure you’ve downloaded jscoverage and it’s in your $PATH.

    You can then add the following to jasmine.yml

    coverage:
      enabled:    true
      encoding:   utf-8
      tmp_dir:    tmp
      report_dir: public/coverage
      skip_paths:
        - public/javascripts/vendor
    

    If this works for you, you may want to speak up on the pull request[2] to get it, or some variation, into jasmine-gem proper.

    • [1] https://github.com/hjdivad/jasmine-gem/tree/jscoverage
    • [2] https://github.com/pivotal/jasmine-gem/pull/37
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been looking at this for a couple of days, even had the IT
I have been looking into this for awhile and have had no real luck.
I've been looking at the PollingDuplexHttpBinding available in silverlight 2 and 3 and had
I have been looking through some MFC code and i came across this expression.
I've been looking for an answer for this for a while now and wondering
Been looking around stackoverflow and google for ways to solve this issue im having
I've been looking into customising the Chrome Web Inspector ( here and here in
I've been looking through the Java API, but have had no luck in working
I was looking at my database and there were places where jQuery had been
Been looking at a lot of post/articles about using Iif(). All of this started

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.