Skip to content

Latest commit

 

History

History

typescript-pactumjs-demo

PactumJS Framework project with TypeScript

Other cool dependencies:

Mocha, test framework

Mochawesome, HTML Reporter

ChanceJS, random data generator

DotEnv, dynamic URLs

Prettier, code formatter

Prerequisites

NodeJS >= v14 SETUP Tutorial

Visual Studio Code


Installation

npm install

Run Tests via CLI

npm run test

Run TypeScript check

npm run ts-check

Run Prettier

npm run prettier:fix

TEST RESULTS

The test execution results will be displayed in the console and also generated as HTML file in the results folder, located in the project root.