]> source.dussan.org Git - sonarqube.git/commitdiff
add extra logging for web tests
authorStas Vilchik <vilchiks@gmail.com>
Fri, 13 Mar 2015 10:49:01 +0000 (11:49 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 13 Mar 2015 10:49:10 +0000 (11:49 +0100)
server/sonar-web/Gruntfile.coffee
server/sonar-web/src/test/lib.js

index 2d86badbb5bb0d00c5fcf5bc720684d235df929b..04fde116c20634d3021c9e7cb168c4536e50a379 100644 (file)
@@ -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:
index c3f63b688abf6bc708457664cb0820dd47f63546..64fff60c3a7398ddec41dcc99b7570d5c989be5c 100644 (file)
@@ -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));
   }
 };