Test file fix not working <SonarQubeTestProject>false</SonarQubeTestProject>

The documentation includes general guidance on adding coding rules, including which languages support adding custom rules, and general guidance on how to go about it.
If the docs don’t answer your question, please tell us:

  • What language are you writing rules for?
  • What have you tried, and what’s your challenge / stumbling block

Please share the relevant code snippet, along with any error messages you’re encountering:

I’m trying to ensure a scan happens on a certain repo, but the scan is not occurring. I think because SonarQube is treating the file as a test file.

I found this link and think this may be the issue at hand.

I’ve included this in the .vbproj file but it hasn’t made any difference.
false

If anyone from SonarQube can reach out then that would be brilliant thanks

Hi,

You filed this under the ‘Writing rules’ category, which doesn’t seem relevant to your question, so I’ve moved it to the SonarQube category.

That means you missed the topic template that would have prompted you to give the details (possibly) relevant to helping you. So here’s another chance at the topic template:

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
  • what have you tried so far to achieve this

 
Thx,
Ann

1 Like