From: Stas Vilchik Date: Fri, 13 Mar 2015 10:49:01 +0000 (+0100) Subject: add extra logging for web tests X-Git-Tag: 5.2-RC1~2586 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2b49391eaceea1bb6a729f13267fd56f4bb74480;p=sonarqube.git add extra logging for web tests --- diff --git a/server/sonar-web/Gruntfile.coffee b/server/sonar-web/Gruntfile.coffee index 2d86badbb5b..04fde116c20 100644 --- a/server/sonar-web/Gruntfile.coffee +++ b/server/sonar-web/Gruntfile.coffee @@ -348,8 +348,7 @@ module.exports = (grunt) -> test: true 'no-colors': true 'fail-fast': true - concise: true - parallel: true + 'log-level': 'debug' port: expressPort src: ['src/test/js/**/*.js'] testCoverage: diff --git a/server/sonar-web/src/test/lib.js b/server/sonar-web/src/test/lib.js index c3f63b688ab..64fff60c3a7 100644 --- a/server/sonar-web/src/test/lib.js +++ b/server/sonar-web/src/test/lib.js @@ -59,6 +59,7 @@ exports.changeWorkingDirectory = function (dir) { curFilePath.pop(); // "js" dir curFilePath.push('json'); curFilePath.push(dir); + casper.log('changing working dir to: ' + curFilePath.join(fs.separator)); fs.changeWorkingDirectory(curFilePath.join(fs.separator)); } };