I have a field for continuous integration of a 2008 server on which I want to use Gallio to run my MSTests and PartCover for my Sonar toolbar.
I installed Gallio 3.3.1 x64 along with PartCover etc.
Gallio works through Icarus in my test assemblies (thanks to this )
However, through Sonar, I have this mysterious log trace (see below). Although my test builds qualify as a test project, an error message is for Gallio
'Embedded error: Gallio execution failed. No test assembly was found. Please check your project Gallio plugin configuration.'
Any idea on how to track and fix this problem?
Thanks,
Note: I could not, for any reason, post this question to the Gallio user group, so I try there.
[INFO] Execute: org.codehaus.sonar:sonar-maven-plugin:2.11:sonar [INFO] [sonar:sonar {execution: default-sonar}] [INFO] Database dialect class org.sonar.jpa.dialect.Derby [INFO] Initializing Hibernate [INFO] The following 'sln' file has been found and will be used: D:\toto.sln [INFO] The project 'toto.Test' has been qualified as a test project. [INFO] The project 'titi.Test' has been qualified as a test project. [INFO]
Here's the POM, if needed:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>totoGroup</groupId> <artifactId>toto</artifactId> <name>TOTO</name> <version>0.0.1-SNAPSHOT</version> <packaging>netpack</packaging> <profiles> <profile> <id>sonar-dotnet</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <dotnet.4.0.sdk.directory>C:/Windows/Microsoft.NET/Framework/v4.0.30319</dotnet.4.0.sdk.directory> <fxcop.directory>C:/Program Files (x86)/Microsoft Fxcop 10.0</fxcop.directory> <partcover.directory>C:\Program Files (x86)\PartCover\PartCover .NET 4.0</partcover.directory> <sourcemonitor.directory>C:/Program Files (x86)/SourceMonitor</sourcemonitor.directory> <stylecop.directory>C:\Program Files (x86)\StyleCop 4.6</stylecop.directory> <sonar.host.url>http://10.101.99.198:20000</sonar.host.url> </properties> </profile> </profiles> <properties> <sonar.dotnet.visualstudio.solution.file>toto.sln</sonar.dotnet.visualstudio.solution.file> <sonar.dotnet.version>4.0</sonar.dotnet.version> <sonar.language>cs</sonar.language> <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding> </properties> <build> <plugins> <plugin> <groupId>org.codehaus.sonar-plugins.dotnet</groupId> <artifactId>maven-dotnet-plugin</artifactId> <version>1.1</version> <extensions>true</extensions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sonar-maven-plugin</artifactId> <configuration> <language>cs</language> </configuration> </plugin> </plugins> </build> </project>
source share