question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow glob pattern for project path(s)

See original GitHub issue

Related to #12 and #18

The 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:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
AlexTeixeiracommented, May 3, 2018

@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

testexplorer

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 😃

2reactions
AlexTeixeiracommented, May 2, 2018

Hi,

I investigate more about this, and found two pieces of code that are related to this.

testexplorer2 testexplorer

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found