index.js
function (data) {
    this.data.tests.push({
      id: data.id,
      name: data.name,
      browser: this.browser,
      status: data.status,
      passedAssertions: data.passedAssertions,
      failedAssertions: data.failedAssertions,
      actions: this.actionQueue
    });
    return this;
  }
function (data) {
    this.data.tests.push({
      id: data.id,
      name: data.name,
      browser: this.browser,
      status: data.status,
      passedAssertions: data.passedAssertions,
      failedAssertions: data.failedAssertions,
      actions: this.actionQueue
    });
    return this;
  }
function ( data ) { this . data . tests . push ( { id : data . id , name : data . name , browser : this . browser , status : data . status , passedAssertions : data . passedAssertions , failedAssertions : data . failedAssertions , actions : this . actionQueue } ) ; return this ; }
Writes data for a finished testcase

@method testFinished
@param {object} data Event data
@chainable
Writes data for a finished testcase