Allow glob pattern for project path(s)
See original GitHub issueThe proposal is simple: dotnet-test-explorer be able to pick up test projects from one or more specified glob patterns. Eg.: dotnet-test-explorer.testProjectPath: ["*.Tests", "tests/**"]
.
Today if you leave it blank, the extension will try to run dotnet tests
on all projects in the root folder, polluting the console with error messages from non-test projects.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Tips for writing glob patterns in DeepSource configuration
Glob patterns specify sets of filenames with wildcard characters. For example, the Unix Bash shell command rm -rf textfiles/*.txt removes (rm) ...
Read more >Understanding the glob pattern in Node.js - LogRocket Blog
The glob pattern is most commonly used to specify filenames, called wildcard characters, and strings, called wildcard matching. The glob pattern ...
Read more >File Patterns - Sublime Text
These patterns are used to match against file/directory names and paths. They are similar in functionality to shell glob patterns, but have some...
Read more >Python's Glob Module: A tutorial for filename matching
glob (short for global) is used to return all file paths that match a specific pattern. We can use glob to search for...
Read more >How to match python paths against recursive glob patterns
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@thiagomajesk, @teamdynamiq. I have something working for multiple projects. This is quite basic, multiple path without any sub folder discovering.
Here the changes : https://github.com/AlexTeixeira/vscode-dotnet-test-explorer/commit/b2669a4868ef7f07559721dfc46136375a681997
Now I need to work in the execution flow because the first project do not keep the test results
Edit
the next commit correct the execution flow 😃
Hi,
I investigate more about this, and found two pieces of code that are related to this.
The definition of
testProjectPath
is in the package json. If I have some time, I will try to push a PR.I do not see any rules about pushing PR for this project. If someone is aware of that, please notify.