Comments (10)
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.
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.
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
definedThis 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.
Yes, using /tests. Using QUnit also. I'll look forward to an update. Thanks!
from ember-cli-code-coverage.
Released 0.1.1 with a fix for this for QUnit users. Opened #2 for Mocha support.
from ember-cli-code-coverage.
👍 Works. Thanks!
from ember-cli-code-coverage.
I can't run the $ COVERAGE=true ember test command
from ember-cli-code-coverage.
@didoChulz what happens when you execute that command? Any output or errors you can share?
from ember-cli-code-coverage.
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.
@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)
- Unexpected token { error
- [QUERY] Is it possible to generate the coverage for a specific file/spec module (integration) HOT 2
- Issue with migration to v2.0.0
- No coverage report generated when used with @embroider/compat@^2.1.0 HOT 10
- Exclude app files from ember engine? tried with many glob patterns nothing is working..
- Socket timeouts POSTing to /write-coverage when running tests in CI mode HOT 3
- Not respecting "inputSourceMap" field from reported coverage data (fails for .gjs - ember-template-imports) HOT 2
- New release? HOT 10
- Coverage not collected in Embroider >3.1 HOT 6
- Is it possible to get coverage of hbs files with qunits and this coverage tool? HOT 1
- Issues with first-class component templates? HOT 12
- Embroider Tests are verifying that we have no coverage data HOT 1
- Version 2.0.1 not published HOT 1
- Coverage fails in dev mode (ember serve) on 2.0.3 HOT 2
- Coverage for gjs/gts files do not work for embroider apps HOT 17
- Add workflow that creates a dist branch HOT 2
- Coverage is not produced when `-s` is not included
- Ability to collect and report coverage in development
- Use on WSL test runs
- modifyAssetLocation is not called for paths starting with ".."
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-code-coverage.