Commit b87c8630 b87c8630e442f6867d5a53042ada28e305c2fdae by Nicolas Perriault

Merge pull request #426 from sreeix/log_with_function_name

refs #425 Log now has the step function name
2 parents 1fe9afcb 134b55e1
......@@ -1383,7 +1383,7 @@ Casper.prototype.runStep = function runStep(step) {
/*jshint maxstatements:20*/
this.checkStarted();
var skipLog = utils.isObject(step.options) && step.options.skipLog === true,
stepInfo = f("Step %d/%d", this.step, this.steps.length),
stepInfo = f("Step %s %d/%d", step.name || "anonymous", this.step, this.steps.length),
stepResult;
function getCurrentSuiteId(casper) {
try {
......