🥛An easy-to-use E2E test framework written in javascript targeting microservices systems
Write your scenarios easily. The assertions are usually done inside the wm (aka WorldModel) object.
ts.test('Create a driver and passenger and go on a ride', aynsc (wm) => {
const passenger = await wm.registerPassenger('firstName', 'lastName', '[email protected]');
const driver = await wm.registerDriver('firstName', 'lastName', '[email protected]');
const ride = await wm.goOnARide(passenger, driver, wm.sampleOrigin, wm.sampleDestination);
// any other assetions on ride, passenger or driver objects
});