Git Product home page Git Product logo

Comments (10)

kategengler avatar kategengler commented on July 23, 2024

Hi! You need a newer Testem (>= 1.6.0) which comes with a newer ember-cli (2.4.3+ I believe).

from ember-cli-code-coverage.

benwalder avatar benwalder commented on July 23, 2024

@kategengler

We look forward to using istanbul also! Server side instrumentation is a good idea.

I get the same error Chrome: Uncaught ReferenceError: Testem is not defined

This line in index.html is failing: Testem.afterTests(function(config, data, callback) {

I created a new app with ember-cli 2.5 and then installed ember-cli-code-coverage:

  • apps package.json:
    "ember-cli": "2.5.0", "ember-cli-code-coverage": "0.1.0",
  • apps /node_modules/ember-cli/node_modules/testem/package.json: "version": "1.6.0",

Thoughts?

cc @ebryn

from ember-cli-code-coverage.

kategengler avatar kategengler commented on July 23, 2024

By any chance are you running the suite at /tests rather than through
ember test -s?

/tests doesn't work yet since I'm relying on that Testem hook, but I hope
to have a fix for that today, at least for QUnit users.

On Wed, May 4, 2016 at 2:40 PM, sfbwalder [email protected] wrote:

@kategengler https://github.com/kategengler

We look forward to using istanbul also! Server side instrumentation is a
good idea.

I get the same error Chrome: Uncaught ReferenceError: Testem is not
defined

This line in index.html is failing: Testem.afterTests(function(config,
data, callback) {

I created a new app with ember-cli 2.5 and then installed
ember-cli-code-coverage:

  • apps package.json: "ember-cli": "2.5.0", "ember-cli-code-coverage":
    "0.1.0",
  • apps /node_modules/ember-cli/node_modules/testem/package.json: "version":
    "1.6.0",

Thoughts?

cc @ebryn https://github.com/ebryn


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#1 (comment)

from ember-cli-code-coverage.

benwalder avatar benwalder commented on July 23, 2024

Yes, using /tests. Using QUnit also. I'll look forward to an update. Thanks!

from ember-cli-code-coverage.

kategengler avatar kategengler commented on July 23, 2024

Released 0.1.1 with a fix for this for QUnit users. Opened #2 for Mocha support.

from ember-cli-code-coverage.

benwalder avatar benwalder commented on July 23, 2024

👍 Works. Thanks!

from ember-cli-code-coverage.

Subodha555 avatar Subodha555 commented on July 23, 2024

I can't run the $ COVERAGE=true ember test command

from ember-cli-code-coverage.

GCheung55 avatar GCheung55 commented on July 23, 2024

@didoChulz what happens when you execute that command? Any output or errors you can share?

from ember-cli-code-coverage.

Subodha555 avatar Subodha555 commented on July 23, 2024

I got the error COVERAGE is not an internal or external command error.
Do I have to install any node modules for this

from ember-cli-code-coverage.

Subodha555 avatar Subodha555 commented on July 23, 2024

@GCheung55 I got the error COVERAGE is not an internal or external command error.
Do I have to install any node modules for this

from ember-cli-code-coverage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.