Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ This Community Rust plugin doesn't run your tests or generate tests reports for

Currently, only `junit report` formats are supported :

Insert a parameter `sonar.rust.test.reportPath` into you `sonar-project.properties` file. As an example, one of such tool
Insert a parameter `community.rust.test.reportPath` into you `sonar-project.properties` file. As an example, one of such tool

for Rust than converts `cargo test` report to `junit report` is [cargo2junit](https://crates.io/crates/cargo2junit).
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set analysis parameter `community.rust.clippy.reportPaths=<CLIPPY REPORT FILE>`

* Optionally import tests measures (`junit` report)

use `sonar.rust.test.reportPath`
use `community.rust.test.reportPath`

* Optionally import coverage measures

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@


public class XUnitSensor implements Sensor {
public static final String REPORT_PATH_KEY = "sonar.rust.test.reportPath";
public static final String REPORT_PATH_KEY = "community.rust.test.reportPath";
public static final String DEFAULT_REPORT_PATH = "rust-test.xml";
private static final Logger LOG = Loggers.get(XUnitSensor.class);

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<developer>
<id>thibaultfalque</id>
<name>Thibault Falque</name>
<email>thibault.falque@gmail.com</email>
<email>thibault.falque@exakis-nelite.com</email>
</developer>
</developers>

Expand Down