Comments (4)
@Tucaen Awesome man! that is a really helpful bug report. Thank you very much. I will do some investigation about it and see what I can find. I will report here when I get some new information. Hopefully I can replicate this, also I will check if there is a chance for me to allow people include some extra commands to the ng test for special cases like this one :)
from angular-karma_test-explorer.
Hi @dylansteen thank you for reporting this, indeed I am working on a fix just as you mentioned, giving the user the possibility to add parameters to the call. I will let you know here when this fix is done.
from angular-karma_test-explorer.
since 1.2.1 there is two new properties, angularProcessCommand which is a string and you guys should use node --max_old_space_size=4000 ./node_modules/@angular/cli/bin/ng test.
and angularProcessArguments which is an array of strings and you guys can use
--source-map=true, --code-coverage=true
be aware that I am not checking every single possibility you could setup in this fields. if you don't do things properly you could cause the Test Explorer to stop working. I will not support any specific logic preventing edge cases.
Just an example:
Arguments: --watch=true and --karmaConfig=karmaConfig will mess up the functionality of the system. don't use them.
from angular-karma_test-explorer.
I'm experiencing a similar, but not quite the same issue. Our project is very large and sometimes experiences a memory issue.
I see that the Angular team is trying to work on these issues, see here:
angular/angular-cli#13734 (comment)
I would really love if the ability to pass extra commands was added, because we use the same solution in order to run the app (--max_old_space_size
) but we also pass some other arguments, notably --source-map=true
and --code-coverage
.
Having the ability to have all these options would mean I could view code coverage from running tests with this extension, directly in vscode using the extension "Coverage Gutters"... which would be amazing!
from angular-karma_test-explorer.
Related Issues (20)
- Extension issue HOT 8
- stderr: Install for [ '@angular/cli@latest' ] failed with code 1
- Make Angular/Karma Test Explorer work with test frameworks other than Jasmine HOT 1
- Nesting describe-elements issue
- Support for Karma version 6 HOT 8
- stderr: 'ng' is not recognized as an internal or external command HOT 1
- Can't debug Angular 10 tests HOT 1
- Infinite Spinner: Cypress Screenshots directories trip up the reporter
- Debug throw error about Cannot connect to the target at localhost HOT 2
- Update Extension to indicate Status HOT 1
- Code coverage report(s) HOT 2
- Infinitely searching for tests HOT 12
- Debugger for Chrome extension is now retired (now vscode built-in extension) HOT 4
- Remote Development - Ability to customize extension's internal Karma browser configuration HOT 2
- Tests are discovered but Code Lens and Show Source buttons are not displayed HOT 9
- Ability to supply environment variables required for test execution HOT 1
- Discovered tests are from another project HOT 1
- Failed Test Highlights row below issue HOT 1
- Unable to see tests in Test Explorer using HOT 12
- Open to additional Maintainers? HOT 3
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 angular-karma_test-explorer.