2016-07-27 9 views
0

私は./gradlew sonarqubeを実行しようとするたびに、私は次のメッセージを得る:Sonarqube +キュウリ+のGradle

Scenario: This is a test  # sample/helloworld/readycheck.feature:3 
    Given This is my first step # StepDefinitions.This_is_my_first_step() 
    When This is my second step # StepDefinitions.This_is_my_second_step() 
    Then This is my third step # StepDefinitions.This_is_my_third_step() 

1 Scenarios (1 passed) 
3 Steps (3 passed) 
0m0.221s 


sample.helloworld.ReadyCheckTest > testDoGet STANDARD_OUT 
Checking ready status... 
Returing ready code: 200 

sample.helloworld.ReadyCheckTest > testDoPost STANDARD_OUT 
Set isReady to true 
:buildDashboard UP-TO-DATE 
:sonarqube 
Resource not found: Scenario: This is a test 

BUILD SUCCESSFUL 

Total time: 11.112 secs 

をしかし、私はソナーのキュウリのレポートを持っていません。ダッシュボードに表示するにはどうしたらいいですか?

答えて

0

SonarQube JavaおよびGroovyプラグインは、「surefire」形式(Maven)に従ったテストレポートのみをサポートします。

キュウリに該当しない場合は、レポートをSurefireに変換してください(また、引き続きJava/Groovyプラグインを使用してインポートすることもできます)またはSonarQube Generic Test Coverageプラグインによってインポートされる一般的なXML形式。

関連する問題