Comments (6)
Hi, thank you for reporting this bug. Are you opening the project folder in vscode or opening a root folder that contains multiple projects? Are you using open folder or open workspace? do you have other test explorers?(if yes which one?) sounds stupid but did you try uninstall/install again?
just tried it with the version uploaded to the marketplace and works fine on windows and mac.
yesterday it was the first release using azure pipeline for package and publish so I was wondering if that messed up something, but it has to be something else.
from angular-karma_test-explorer.
It's a single project.
- ng new test
- install your vscode plugin (all other test-explore plugins deinstalled before)
- reload vscode
I also noticed that the default karma.conf.js path is just "karma.conf.js" from Root while a cli created angular project put it to root/src/karma.conf.js
from angular-karma_test-explorer.
No worries, the karma.conf configuration it's only used on karma/angular projects. With angular cli projects everything is get from the angular.json or angular-cli.json.
Another stupid question, did you do npm install on the project?
If you run Ng test from the project the tests run?
In vscode you re opening the root folder of the project?( where the angular.json is located ).
I am gonna run an Ng new and check if I missed something with latest versions of the angular cli.
I will report back here after.
EDIT 1: I was able to reproduce the bug with a new project. I will check whats going on, to be honest I have no clue. Please still make sure that you do npm install on the project and that ng test works.
EDIT 2: for whatever reason vsce package is ignoring my out folder(which contains the compiled source) when I package on windows. It works fine if I package on Mac OS, makes no sense
from angular-karma_test-explorer.
@aavelyn just posted version 0.3.2 it should work fine, something in my azure pipeline is messing the package or the publish. I am not sure exactly which part. Its the same code just a version I packaged myself and published manually. Tried it on an regular cli project and its working
from angular-karma_test-explorer.
It works now thanks! Great Plugin!
Some things I've noticed:
- It took over 3min to initialize and load all the tests. (I have roughly 80)
- It would be great to have a folder view (see where the spec files are)
- It would be great to see the total amount of tests run/fail
Cheers!
from angular-karma_test-explorer.
Really happy it works now and you like it!. last release was a problem, I need to step up on stability.
Totally agree it should'nt take that long to load, specially that 80 is not a lot of tests. One question on that matter, how long does it take when you run "ng test" from the project?
Great suggestions, I will consider them for future updates. Shouldnt be that hard to implement( I am still new on developing extensions though ahaha)
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.