Home Reference Source Repository
public class | source

UnitRunner

Unit test runner

Constructor Summary

Public Constructor
public

constructor(options: Object)

Method Summary

Public Methods
public

Cleanup action

public

getMocha(): Mocha

Get mocha instance

public

run(tests: Array): Promise

Run tests

Public Constructors

public constructor(options: Object) source

Params:

NameTypeAttributeDescription
options Object

Public Methods

public cleanup(): Promise source

Cleanup action

Return:

Promise

public getMocha(): Mocha source

Get mocha instance

Return:

Mocha

public run(tests: Array): Promise source

Run tests

Params:

NameTypeAttributeDescription
tests Array

Return:

Promise