macacajs / NoSmoke

A cross platform UI crawler which scans view trees then generate and execute UI test cases.
https://macacajs.github.io/NoSmoke
MIT License
198 stars 57 forks source link

NoSmoke运行时间设置 #51

Closed ren752189 closed 6 years ago

ren752189 commented 6 years ago

跑30分钟就停止了,是否有时间设置参数

SamuelZhaoY commented 6 years ago

有的 testingPeriod 这个参数,今天会尽快出一个完成的配置yml 列表共大家参考. .

this.testingPeriod = 0.5 * 60 * 60;
  this.testingDepth = 8;
  this.takeScreenShot = true;
  this.newCommandTimeout = 6;
  this.launchTimeout = 6;
  this.packages = '.*';
  this.maxActionPerPage = 15;
  this.asserts = [];
  this.targetElements = {};
  this.exclusivePattern = '';
  this.platform = 'ios';
  this.clickTypes = [];
  this.editTypes = [];
  this.horizontalScrollTypes = [];
  this.verticalScrollTypes = [];
  this.tabBarTypes = [];
  this.exclusiveTypes = [];
  this.blacklist = [];