index.js
function (data) {
    this.variationCount = -1;
    this.xml[0].children[this.testIdx].children.push({
      name: 'testcase',
      children: [],
      attrs: {
        classname: this.xml[0].children[this.testIdx].attrs.name,
        name: data.name
      }
    });

    return this;
  }
function (data) {
    this.variationCount = -1;
    this.xml[0].children[this.testIdx].children.push({
      name: 'testcase',
      children: [],
      attrs: {
        classname: this.xml[0].children[this.testIdx].attrs.name,
        name: data.name
      }
    });

    return this;
  }
function ( data ) { this . variationCount = - 1 ; this . xml [ 0 ] . children [ this . testIdx ] . children . push ( { name : 'testcase' , children : [ ] , attrs : { classname : this . xml [ 0 ] . children [ this . testIdx ] . attrs . name , name : data . name } } ) ; return this ; }
Generates XML skeleton for a testcase

@method testStarted
@param {object} data Event data
@chainable
Generates XML skeleton for a testcase