Comments (12)
ah okey completely misunderstood the situation. Okey lets see then there is no reason why it should not work. Do you wanna join https://gitter.im/Angular-Karma-Test-Explorer/Bugs ?
I am currently online and its gonna be a lot easier to solve the issue there. I will post the findings here afterwards
from angular-karma_test-explorer.
Hi, thank you for downloading the extension. Unfortunately electron is not really supported. I mean it could work or it could not, I have no idea how an electron project looks like and this has never been tested in electron.
If you need me to help you with this you will have to provide for me a test project that reproduces the issue as mentioned in the bug report template.
The test explorer seems to be launching correctly so it seems very possible to make it work with electron..probably just a configuration issue or something different about electron directories that will need some extra changes to make the tests discoverable.
from angular-karma_test-explorer.
Just for clarification, the VSCode made by electron, not my project. my project is based on Angular.
from angular-karma_test-explorer.
Ok, I will join. thanks!
from angular-karma_test-explorer.
Since it seems we cannot match a time were we re both online at the same time I am gonna post everything here.
Is it Angular CLI project or Angular project? if Angular CLI do you have the AngularCLI installed globally?
Are you opening the folder where this project is located or are you opening one folder above it( let's say if you have a root folder with the api and the app)
What do you mean by this Version: 1.37.0 (user setup)? re you using a release version or insiders?
from angular-karma_test-explorer.
Is it Angular CLI project or Angular project? It's Angular CLI Project
if Angular CLI do you have the AngularCLI installed globally? Yes.
Are you opening the folder where this project is located or are you opening one folder above it( let's say if you have a root folder with the API and the app)? I opened the folder where this project is located
What do you mean by this Version: 1.37.0 (user setup)? This is the version of VSCode (User Installer). Vscode has two versions for installer System and User(Recommended By Vscode)
re you using a release version or insiders? Stable Released Version
from angular-karma_test-explorer.
okey since you re here now let's go to the chat, cause really your case is the most common scenario, the one I use everyday at work. I can't see why its not working
from angular-karma_test-explorer.
I have the same problem.
Running VS Code 1.37.0. The tests won't list. In the "Test Explorer logs" I've got:
[14:25:16] INFO: Starting Angular test enviroment for project: app-commissioning-guide
[14:25:17] INFO: Listening to AngularReporter events on port 9999
[14:26:42] INFO: Test loading completed - No tests found
[14:29:07] INFO: Running [ suite: root ]
For me, the answers are:
Is it Angular CLI project or Angular project?
It's Angular CLI Project
If Angular CLI do you have the AngularCLI installed globally?
Globally and locally.
Locally - Angular CLI: 6.1.4
Global - Angular CLI: 6.0.8
Are you opening the folder where this project is located or are you opening one folder above it( let's say if you have a root folder with the API and the app)?
I opened the folder many levels above the angular cli project. However I set:
"angularKarmaTestExplorer.projectRootPath": "pt\\filesystems\\web_files\\lighttpd\\app\\"
What do you mean by this Version: 1.37.0 (user setup)?
This is the version of VSCode (User Installer).
Are you using a release version or insiders?
Stable Released Version
from angular-karma_test-explorer.
Hi @arthurspa sorry that its not working from you. could you provide me with a test project were I can reproduce this bug? unfortunately I could not reproduce it neither on windows or mac, so it's very hard for me to fix something that I don't have.
The configuration seems to be correct cause the test explorer is picking the name of the project correctly. My supposition is that for some reason the completed event is returning before the tests finished loading but did not managed to reproduce this.
from angular-karma_test-explorer.
Hi @Raagh, now it's working. Maybe after I rebooted the PC. I remember that I had restarted VS Code many times to check if the extension would recognise my tests and it didn't.
However not the problem doesn't reproduce anymore and I have the same config as in my previous comment. The only difference is that I turned off and on the PC.
Thanks for the extension and your time, anyway.
from angular-karma_test-explorer.
Hey @arthurspa that is good to know though very strange. If it happens again please let me know and provide me with a test project and I will make sure to reproduce it and fix it.
from angular-karma_test-explorer.
@Raagh , sure. Thanks!
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.