Closed GoGoris closed 5 years ago
Hey Steven @GoGoris , again thank you for submitting and bug and uploading a test project where I can reproduce it. I am gonna take a look to it soon so hopefully next release fix this problems for you.
Regards, Patricio
sorry I been really busy with the multiple instances bug that I thought it was fixed, in the end it wasn't. just tried it and seems to work fine on windows and mac. I will start with this now.
Sometimes I see no test suites, other times I see 2 test suites in the same project. It looks like some kind of race condition.
I was able to reproduce it perfectly with your test project thanks :). I am working on a solution for this, will keep you posted here when I have it finished.
I'm also interested in the support of multi-project app.
@VaultDeveloper hi Marco, multiproject app is supported, what its still not supported is multi-root workspaces. as long as its not a workspace file and you have both projects under one root. You can open the root and use this extension(configuring the path for the angular app). Anyway, I am working on supporting multi root workspaces, it will be available soon :)
I'm also interested in multi-root workspace.
Je travaille sur un projet monorepo qui fonctionne parfaitement, y compris les tests en ligne de commande. L'extension se lance correctement et affiche les tests du premier projet (qu'elle arrive à lancer sans problème.
Par contre, quand je change de projet, en cliquant sur le bouton en haut à gauche, l'extension charge à l'infini, et les ventilateurs de l'ordinateur accélère. J'ai testé avec 2 ordinateurs différents, même problème.
Pour l'instant j'ai essayé uniquement dans un workspace à une seule racine. J'ai pas le temps de faire plus d'expérimentations car l'utilisation des tests unitaires a été dé-priorisé.
Mon projet est sous Angular et Ionic.
Hey @VaultDeveloper I will let you know when multi root workspaces are supported :). I don't speak french, please comment in English if you can. From what I understood with google translate. The first project loads fine. what kind of projects are the others? regular angular projects or ionic? Ionic is not supported( to be honest never worked with ionic before so I have no idea how is the structure).
If the other projects are not regular angular projects please could you create a feature request to support those types?(ex: Support Ionic/Angular Tests).
I am sorry to hear that testing get schedule on your project, testing should be part of the development process and it should not be prioritized, but sometimes managers don't understand that.
I am gonna close this bug and create a new feature request for multi-root workspaces to be prevent future misunderstoods.
Also if you need a support for a certain feature right away please take a look to the contributing guidelines for the project and please feel free to contribute 👍
Describe the bug Test suites are duplicated as many times as there are folders opened in a multi project workspace.
To Reproduce https://github.com/GoGoris/code-karma-test-explorer-bug-duplicate-tests
Logs
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Plugin version: 0.2.1