Mocha inspired test framework for integration and system tests.
- Suite runner function is now exported as
default
from package main. - Other exported symbols are exported separately.
- import overman = require('overman');
- new overman.reporters.Summary(process.stdout);
+ import overman, { reporters } from 'overman';
+ new reporters.Summary(process.stdout);
Options.timeoutTimer
is replaced byOptions.timerFactory
- suiteRunner({ timeoutTimer: MyTimerClass });
+ suiteRunner({ timerFactory: (timeout) => new MyTimerClass(timeout) });
-
Suite runner (module default export) now returns a pure Promise. Cancellation is done by providing a
signal: AbortSignal
inOptions
. -
Drop support for Generator functions