Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Latest commit

 

History

History
13 lines (12 loc) · 651 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 651 Bytes

doogh

🥛An easy-to-use E2E test framework written in javascript targeting microservices systems

Test Syntax

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
});