Comments (17)
#57 seems similar
from ember-cli-code-coverage.
we are running into the same issue.
Ember CLI: 2.8.0
Running COVERAGE=true ember test
However, running COVERAGE=true ember test --server
works.
from ember-cli-code-coverage.
Using phantom? Mocha? Sounds conceptually similar to #32 (in that it sounds related to reading the posted coverage payload).
from ember-cli-code-coverage.
phantom and qunit
from ember-cli-code-coverage.
Having the same issue.
from ember-cli-code-coverage.
I'm seeing the same issue too. I've tried 0.3.1
and 0.3.2
, and I get that request aborted
message, and there is no /coverage/
directory. I am using [email protected]
with this passthrough in /mirage/config.js
:
this.passthrough('/write-coverage');
I went down to 0.2.2
and everything seems to work, and I get coverage information.
from ember-cli-code-coverage.
We're running into something similar. Getting timeouts on 0.3.2. Downgraded to 0.2.2 and it's working fine. We also use ember-cli-mirage@(roughly 0.2.2).
from ember-cli-code-coverage.
Also having the same issue, using Mirage with the passthrough.
from ember-cli-code-coverage.
having the same issue on one of my projects using 0.3.2. Whats weird is that it only sometimes (~50%) happens and only on codeship. I can't reproduce this locally. Downgrading to 0.2.2 seems to of fixed it
from ember-cli-code-coverage.
This happens to me as well 50% of the time on Codeship. I'm using Phantom.
There was similar issue for Blanket: sglanzer-deprecated/ember-cli-blanket#112. It seems that making the request to /write-coverage
synchronous might help. Now if I only knew what to change in my code to try it out.
from ember-cli-code-coverage.
The request did change from being sync to async in this commit f2ba0e8#diff-94eab975fb48e219fc130d82e21457ac
However, I have a hunch that this is related to testem version and the fact that a synchronous request fixes it is a patch over the problem, rather than the solution.
For anybody seeing this issue, could you please provide:
- Your ember-cli version
- Whether you're running
ember test
ember test -s
or navigating to/tests
from ember-cli-code-coverage.
"ember-cli": "^2.8.0"
running COVERAGE=true $(npm bin)/ember test
in CI
from ember-cli-code-coverage.
"ember-cli": "2.8.0",
"ember-cli-code-coverage": "^0.3.6",
COVERAGE=true ember test --launch phantomjs
fails
COVERAGE=true ember test --server
works
from ember-cli-code-coverage.
"ember-cli": 2.4.3,
"ember-cli-code-coverage": "^0.3.8",
COVERAGE=true ember t
fails
COVERAGE=true ember t -s
works (meaning it will update the /coverage/*
files
from ember-cli-code-coverage.
Same issue here on circleci. It works locally, however.
"ember-cli": "2.10.0",
"ember-cli-code-coverage": "^0.3.8",
COVERAGE=true ember test
fails
from ember-cli-code-coverage.
Appears to be fixed by #82
from ember-cli-code-coverage.
Just tried it out. Works for me!
from ember-cli-code-coverage.
Related Issues (20)
- No clear documentation on usage of beta version in actual ember addons HOT 5
- require.buildBabelPlugin is not a function or its return value is not iterable HOT 5
- TS files are not included in the coverage with `--path` option HOT 2
- Dramatic build slowdown when enabled HOT 3
- Question - Is there a way to fail the test run if the coverage is below a certain threshold?
- Request aborted - BadRequestError seen from v2.0.0-beta.2 HOT 6
- write-coverage errors out with 403
- Seems to break when using the ember-concurrency new api HOT 5
- 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
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.