GithubHelp home page GithubHelp logo

Comments (12)

Raagh avatar Raagh commented on June 28, 2024 1

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.

Raagh avatar Raagh commented on June 28, 2024

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.

adnanebrahimi avatar adnanebrahimi commented on June 28, 2024

Just for clarification, the VSCode made by electron, not my project. my project is based on Angular.

from angular-karma_test-explorer.

adnanebrahimi avatar adnanebrahimi commented on June 28, 2024

Ok, I will join. thanks!

from angular-karma_test-explorer.

Raagh avatar Raagh commented on June 28, 2024

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.

adnanebrahimi avatar adnanebrahimi commented on June 28, 2024

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.

Raagh avatar Raagh commented on June 28, 2024

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.

arthurspa avatar arthurspa commented on June 28, 2024

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.

Raagh avatar Raagh commented on June 28, 2024

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.

arthurspa avatar arthurspa commented on June 28, 2024

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.

Raagh avatar Raagh commented on June 28, 2024

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.

arthurspa avatar arthurspa commented on June 28, 2024

@Raagh , sure. Thanks!

from angular-karma_test-explorer.

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.