Here is a possible solution:
Create a setting pointing to your config file (e.g. in .vscode/settings.json):
{
"jasmineExplorer.config": "jasmine.json",
...
}
In the jasmine.json file, you tell the explorer where the specifications are. Here is an example:
{
"spec_dir": "site/dist/tests",
"spec_files": ["**/*[sS]pec.js"],
"helpers": ["helpers/**/*.js"],
"random": false,
"seed": null,
"stopSpecOnExpectationFailure": false
}
Answer from Willem on Stack Overflow Top answer 1 of 2
10
Here is a possible solution:
Create a setting pointing to your config file (e.g. in .vscode/settings.json):
{
"jasmineExplorer.config": "jasmine.json",
...
}
In the jasmine.json file, you tell the explorer where the specifications are. Here is an example:
{
"spec_dir": "site/dist/tests",
"spec_files": ["**/*[sS]pec.js"],
"helpers": ["helpers/**/*.js"],
"random": false,
"seed": null,
"stopSpecOnExpectationFailure": false
}
2 of 2
4
The Test Explorer plugin will not show any test if an error is encountered. To check if there were any errors during the compilation of your tests, go to the Jasmine Explorer Log in the Output tabs of VSCode (View -> Output)

You can see that in my case I was having an issue with module resolution that I fixed by tweaking tsconfig.json.
GitHub
github.com › hbenl › vscode-jasmine-test-adapter › issues › 12
Test Explorer window not showing Jasmine tests · Issue #12 · hbenl/vscode-jasmine-test-adapter
July 5, 2018 - I installed jasmine using npm. The Test Explorer window does not find any tests. Neither does the code lens Run/Debug functionality appear in any of the spec files. When I open the SpecRunner.html file that is part of the project, the test output is generated without any problems.
Author MrClyfar
Jasmine tests not displaying
Hello! I am trying to get the Jasmine explorer working with my project, but it is not displaying any of the tests. I think I found the reason, but I am not positive. My project is setup with the wo... More on github.com
Visual Studio Test Explorer does not discover jasmine tests - Stack Overflow
I have jasmine tests that run through the Chutzpah context menu extension (Run JS tests). However they do not get discovered by the Test Explorer and when I right-click and select Run Tests, the ou... More on stackoverflow.com
angular - Jasmine Test Explorer is showing typescript jasmine tests in VS Code - Stack Overflow
18 Jasmine test explorer not showing test cases(it blocks) list in jasmine test explorer in visual studio code More on stackoverflow.com
No tests displayed in spec window
Hi, I've added Jasmine 2.2.0 via Nuget to my project angular project which is hosted in Visual Studio. When I run the SpecRunner I don't see the specs list but only the title. If I inspect ... More on github.com
Videos
Visual Studio Marketplace
marketplace.visualstudio.com › items
Jasmine Test Explorer - Visual Studio Marketplace
Extension for Visual Studio Code - Run your Jasmine tests in the Sidebar of Visual Studio Code
GitHub
github.com › hbenl › vscode-jasmine-test-adapter › issues › 38
Jasmine tests not displaying · Issue #38 · hbenl/vscode-jasmine-test-adapter
January 16, 2020 - below is the output of the log file I configured ("jasmineExplorer.logfile":"C:\temp\jasminelog.txt",). the specific line I am looking at is "Creating adapter for c:\Source\Master\App". Looking into adapter.ts I see it is using the vscode workspace dir "public readonly workspaceFolder: vscode.WorkspaceFolder" Assuming this is the problem (it may not be), is there a way to overwrite this in the config? [2020-01-16 11:09:35.001] [INFO] Test Explorer found [2020-01-16 11:09:35.001] [INFO] Creating adapter for c:\Source\Master\App [2020-01-16 11:09:35.001] [INFO] Registering adapter for c:\Source\Master\App [2020-01-16 11:09:35.002] [DEBUG] Using config file: c:\Source\Master\App\AppSFSvc\ClientApp\e2e\tsconfig.e2e.json [2020-01-16 11:09:35.002] [INFO] Initialization finished
Author SEISENREICH1
GitHub
github.com › hbenl › vscode-jasmine-test-adapter
GitHub - hbenl/vscode-jasmine-test-adapter: Jasmine Test Adapter for the VS Code Test Explorer · GitHub
If the "Jasmine Tests" output channel ... be explained from Jasmine's console output), you can turn on diagnostic logging using one of the following configuration options (note: in multi-root workspaces, these options are always ...
Starred by 21 users
Forked by 20 users
Languages TypeScript
Ceymplon Ltd
ceymplon.lk › blog › 65 › testing-javascript-using-jasmine-test-framework-and-chutzpah-test-explorer
Testing JavaScript Using Jasmine Test Framework and Chutzpah test Explorer
With a light configuration, the test adapter will see the JavaScript unit tests and will pick them up in the explorer. The second extension is a context menu extension that allows us to run the tests with only two mouse clicks. This plugin also provides additional functionality such as code coverage results and debugging which can be done directly from Visual Studio. Jasmine is a behavior-driven development framework for testing JavaScript code. The great thing about Jasmine is that it does not depend on any other JavaScript frameworks and it does not require a DOM.
Mortenhoustonludvigsen
mortenhoustonludvigsen.github.io › JsTestAdapter › CreatingATestAdapter
Creating a Visual Studio Test Explorer adapter with JS Test Adapter – JS Test Adapter – A base library to create Visual Studio test explorer adapters for javascript
Create a new "HTML Application with TypeScript" in Visual Studio 2013 called "JasmineNodeJsTestAdapter" (make sure to check Create directory for solution). Once this is done, the solution explorer should look something like this: ... The Task Runner Explorer looks like (it might be necessary to run nmp install from a command prompt, and to click the Refresh button in the Task Runner Explorer): I can now build the solution, and double click the CreatePackage grunt task in the Task Runner Explorer. If I show all files in the Solution Explorer, I should see that a package JasmineNodeJsTestAdapter.vsix has been created:
GitHub
github.com › egmacke › vscode-jasmine-test-adapter › blob › master › README.md
vscode-jasmine-test-adapter/README.md at master · egmacke/vscode-jasmine-test-adapter
If the "Jasmine Tests" output channel ... be explained from Jasmine's console output), you can turn on diagnostic logging using one of the following configuration options (note: in multi-root workspaces, these options are always ...
Author egmacke
Open VSX Registry
open-vsx.org › extension › hbenl › vscode-jasmine-test-adapter
Jasmine Test Explorer
We cannot provide a description for this page right now
Mortenhoustonludvigsen
mortenhoustonludvigsen.github.io › KarmaTestAdapter
Karma Test Adapter – A Visual Studio test explorer adapter for Karma
This extension integrates Karma - Spectacular Test Runner for JavaScript with the test explorer in Visual Studio 2013 and Visual Studio 2015 Preview / CTP. This extension is built using JsTestAdapter. This test adapter runs tests in browsers using Karma. If you need to run tests in Node.js you might be interested in the Jasmine Node Test Adapter. Karma is started in the background with autoWatch set to true, so tests are run immediately when files change. Once Karma has concluded a test run the results are shown in the Test Explorer in Visual Studio.
GitHub
github.com › jasmine › jasmine › issues › 893
No tests displayed in spec window · Issue #893 · jasmine/jasmine
July 17, 2015 - Hi, I've added Jasmine 2.2.0 via Nuget to my project angular project which is hosted in Visual Studio. When I run the SpecRunner I don't see the specs list but only the title. If I inspect the page I can see that all the specs are there but not displayed.
Author DennisNerush
GitHub
github.com › mmanela › chutzpah › issues › 608
VS 2017 Unable to run Jasmine Test in MS Test Explorer · Issue #608 · mmanela/chutzpah
August 3, 2017 - I have attempted to get unit testing working on two different computers with Jasmine/Chutzpah and Visual Studio 2017. In both cases, the Test Explorer appears to be searching for Unit Tests, the expected test (a sample that will only return success) shows up but I am unable to run the test. After a few seconds the test drops off the list and then reappears, this process repeats. There is a noticeable performance problem while this is occurring in VS.
Topcoder
topcoder.com › challenges › 30069929
[$1400/$700] - Karma VSCode Extension - Test Explorer Challenge
The tests should be displayed in a tree view (like Webstorm Karma plugin) in test explorer · All tree items should have an icon indicating the corresponding test(s) pass or fail · All tree items should have badge showing the duration of the corresponding test(s) in milli-seconds (ms) Click on the tree item, navigate to the corresponding test in the source test file · The karma-server terminal should be attached to VSCode when tests start running, logs should be generated in output panel too in Karma channel. Note that for the time duration, we expect it to be displayed on the right side in the same way as the Webstorm Karma Plugin.
Visual Studio Marketplace
marketplace.visualstudio.com › items
Karma Test Explorer (for Angular, Jasmine, and Mocha) - Visual Studio Marketplace
Extension for Visual Studio Code - View and run your Karma or Angular tests in the VS Code Testing side bar
Titanwolf
titanwolf.org › Network › q › 19a5dcc1-f87c-4d3a-aa3a-51b7b0a3d4af › y
Question : Jasmine test explorer not showing test cases(it blocks) list in jasmine test explorer in visual studio code
Here is an example: { "spec_dir": "site/dist/tests", "spec_files": ["**/*[sS]pec.js"], "helpers": ["helpers/**/*.js"], "random": false, "seed": null, "stopSpecOnExpectationFailure": false } ... The Test Explorer plugin will not show any test if an error is encountered.