Open DanielPBak opened 6 years ago
I think the correct pattern is **/test/robotframework/*.robot
. That's because we use (perhaps incorrectly) the full path and not a relative path from the project root when matching against the include and exclude patterns.
So:
**/fox/test/robotframework/*.robot
doesn't work, but **/test/robotframework/*.robot
does work (fox is the workspace root). What would be causing this?
The problem with **/test/robotframework/*.robot
is that it searches my entire filesystem for /test/robotframework/*.robot
, and I have a few directory structures like that that I would prefer not to be searching.
What's also interesting is that */.py searches my entire filesystem for .py files, and includes everything except c:\Users\danie01\.virtualenvs\robotframework-Ug8rGc7a\Lib\site-packages\robot\libraries\*.py
files, which are included in the search but do not match the pattern.
With
(or with "test/robotframework/*.robot")
I get the following debug information:
So the pattern is picking up the files I desire (all the .robot files in \test\robotframework), but then excludes them because they don't match a pattern. Am I using this wrong?
**/*.robot and **/*.py
work fine.