- Operating system: Win 10
- SonarLint plugin version: 7.13
- Programming language you’re coding in: Java, TypeScript
- Is connected mode used: No
In the SonarLint preferences in Eclipse, there is an option for “Test file regular expressions”. I am aware that SonarLint already determines test code by the respective build path flag for Java code. But I am wondering what format this config expects if I wanted to use it on top of that.
While it says “regular expression”, the example in the FAQ here (Frequently asked questions) shows **/*Test.java
, which looks more like a GLOB than a regex pattern to me.
Does it have to end in a file type, or would something like **/src/test/**
work as well?
And since it says “regular expressions” in a plural form, I wonder what kind of delimiter it would need to use multiple patterns.