Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Leviathan Worker helpers

The worker class can be used to control the testbot hardware. In the suite.js file, you can create an instance of it, and then use its methods to flash the DUT, power it on/off, and set up a network AP for the DUT to connect to.

example
 const Worker = this.require('common/worker');
 this.suite.context.set({
     worker: new Worker(DEVICE_TYPE_SLUG, this.getLogger()), // Add an instance of worker to the context
 });
 const Worker = this.require('common/worker');
 const worker = new Worker(DEVICE_TYPE_SLUG, this.getLogger())

Index

Classes

Generated using TypeDoc