Comments (8)
I'm using the findFiles endpoint to query files. According to the documentation if the second parameter is null, it should not use the default exclusion pattern. I interpret this that it should work, because I am passing null as second parameter.
I might misinterpret the documentation or there is vscode bug.
from vscode-catch2-test-adapter.
Thanks for the quick reply!
I found related issue: microsoft/vscode#48674
It seems that files.exclude
IS default exclusion path.
I guess the easiest way to have both features would be to add exclude
option to this extension which would be passed instead of null.
from vscode-catch2-test-adapter.
Nore that “undefined” and “null” are different values in JavaScript.
Since you are talking about “undefined”, you might missed that. If not then I am missing something, please explain what do you mean.
from vscode-catch2-test-adapter.
I'm bad in JS so I talk only about files detection dependency on files.exclude
option. undefined
is discussed in the VS Code issue which I suppose to be related.
I guess this issue could be called a feature request to have independent exclude
configuration entry.
from vscode-catch2-test-adapter.
Disagree:
When undefined only default excludes will apply, when null no excludes will apply.
(See doc)
According to the documentation null would work, and I using it. So if it is not working it is a vscode bug related to null, not undefined.
from vscode-catch2-test-adapter.
Oh, I get it now.
from vscode-catch2-test-adapter.
When
null
, no search excludes will apply, butfiles.exclude
will still apply.
This is current behaviour, but I hope there would be discussion on changing it:
microsoft/vscode#77813
from vscode-catch2-test-adapter.
For default exclude there is undefined
value.
They reopened your issue 👍
I will close this if you don't mind and hope that vscode fixes its API.
from vscode-catch2-test-adapter.
Related Issues (20)
- The ambiguous explanation of the test.parallelExecutionLimit and the test.parallelExecutionOfExecutableLimit HOT 5
- Bazel, Runfiles, and C++ TestMate - how to use properly? HOT 11
- runTask always reporting "Task not found" HOT 2
- Parallel execution requires per-instance unique identifiers HOT 5
- fail to loading testing binary HOT 7
- Don't re-indent `std::cout` output HOT 1
- [Catch2] Custom main file not being picked up HOT 3
- Implicit gtest_filter fails when running 300 tests HOT 1
- Different configTemplate depending on executed tests HOT 4
- Should files.watcherExclude be honored when finding tests? HOT 5
- Label merging is broken after adding current working directory in the advanced executables configuration HOT 8
- Unexpected warning in Test Results related to "Unknown XML tag: TestCase" HOT 3
- How to setup bazel properly? (pattern, cwd, ...) HOT 2
- how to get run target path
- deactive discovery watcher at build time HOT 1
- [Abritrary Test grouping] : allow to make custom groups based on several config for advancedExecutables HOT 2
- Feature request: Test Coverage API support
- Highlight the first error, not the last
- Continuous run only selected tests
- Missing additionnal context from GoogleTest failures 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 vscode-catch2-test-adapter.