Codeceptjs-BDD Framework with Cucumber and Saucelabs cloud
This framework contains Gherkin BDD Tests with CodeceptJS & uses Should.JS assertion library. Intgrated with Saucelabs to run on Multibrowsers in Parallel
π User Docs / Website: Codecpetjs-BDD/Docs
π Changelog
-
Why BDD? Read my Medium post here
-
Run All feature files in Parallel
-
Run All feature files on Multi-Browsers - run them all in Parallel
-
Scenarios are written in Cucumber Gherkin BDD Syntax, a.k.a
.feature
files. Prefer writing Declartive Test Scenarios -
Run on SauceLabs. Single browser or Multi-Browsers in Parallel
-
Uses Should.js Assertions Library. Various assertions with examples are available here
-
Reduces Flakiness with RetryFailedSteps plugin and a Webdriver's SmartWait
-
Page objects follow
<name_of_page>.page.js
naming pattern, and created under pages directory -
Step Definitions files follows
<name_of_step>.steps.js
naming pattern, and created under step_definitions directory -
Soft Assertions: Collect more errors in a single run rather than failing test at first failure!