Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Double-check your test project patterns: <code>sonar.donet.visualstudio.testProjectPattern=**.Tests; **.UnitTests</code></p> <p>Try this instead: <code>sonar.donet.visualstudio.testProjectPattern=*Tests;*UnitTests</code></p> <p>Also, toward the top of the sonar-runner output (within the first 20 or so lines), you should see some lines like this:</p> <pre><code>05:40:07.021 INFO - Initializing Hibernate 05:40:13.601 INFO - Load project settings 05:40:13.653 INFO - The following 'sln' file has been found and will be used: C:\TeamCity\buildAgent\work\920b95942ca1a758\Sonar\MyProject-Sonar.sln 05:40:17.276 INFO - The project 'MyProject.Tests' has been qualified as a test project. 05:40:19.235 INFO - The project 'MyOther.Project.Tests' has been qualified as a test project. </code></pre> <p>If you're not seeing this, try running sonar-runner with <code>-X</code> to enable debugging output. This should give you more details as to what patterns are being used to match test projects.</p> <p>Additionally, any paths need to use forward slashes (<code>/</code>), so the following need to be changed:</p> <pre><code>sonar.silverlight.4.mscorlib.location=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v5.0 sonar.dotnet.test.assemblies=FooUnitTests\bin\Release\FooUnitTests.dll </code></pre> <p>To this:</p> <pre><code>sonar.silverlight.4.mscorlib.location=C:/Program Files (x86)/Reference Assemblies/Microsoft/Framework/Silverlight/v5.0 sonar.dotnet.test.assemblies=FooUnitTests/bin/Release/FooUnitTests.dll </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload