Skip to content

Commit

Permalink
исправил сбор замеров
Browse files Browse the repository at this point in the history
  • Loading branch information
ovcharenko-di committed Oct 11, 2020
1 parent 62486c9 commit 936182e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ sonar.tests=./tests
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8

sonar.coverageReportPaths=./coverage/genericCoverage.xml
sonar.testExecutionReportPaths=./coverage/coverage.xml
sonar.coverageReportPaths=coverage/genericCoverage.xml
3 changes: 3 additions & 0 deletions tasks/coverage.os
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@

ФС.ОбеспечитьПустойКаталог("coverage"); // TODO: убрать после исправления issue #5 в coverage

ПутьКСтат = ОбъединитьПути("coverage", "stat.json");

Команда = Новый Команда;
Команда.УстановитьКоманду("oscript");
Команда.ДобавитьПараметр(СтрШаблон("-codestat=%1", ПутьКСтат));
Команда.ДобавитьПараметр("tasks/test.os"); // Файла запуска тестов
Команда.ПоказыватьВыводНемедленно(Истина);

Expand Down

0 comments on commit 936182e

Please sign in to comment.