lib/gaia_screenshot.js
/**
 * Integration test (all test / specified file)
 *
 * @param {String} file specified test file
 * @param {String} message provide message after test finish
 */
Integration test (all test / specified file)
@param {String} file specified test file
@param {String} message provide message after test finish
Integration test ( all test / specified file ) @param { String } file specified test file @param { String } message provide message after test finish
function runIntegrationTest(file, message) {
  try {
    var log = '';
    if (file)
      log = execSync('bin/gaia-marionette ' + file);
    else
      log = execSync('make test-integration');
    console.log(message);
  } catch (err) {
    console.log('Integration test failed');
  }
}
function runIntegrationTest ( file , message ) { try { var log = '' ; if ( file ) log = execSync ( 'bin/gaia-marionette ' + file ) ; else log = execSync ( 'make test-integration' ) ; console . log ( message ) ; } catch ( err ) { console . log ( 'Integration test failed' ) ; } }
Integration test (all test / specified file)
 @param {String} file specified test file
 @param {String} message provide message after test finish
Integration test ( all test / specified file ) @param { String } file specified test file @param { String } message provide message after test finish
//console.log(log);