A framework for using cucumber.js and pactum.js.
- Git
- Bun 1.0 or newer (adds
bunandbunxto your PATH)
- Clone the repository:
git clone <your-repo-url> cd cucumber-framework
- Install dependencies with Bun:
bun install
- Create your environment file by copying the template and filling in real values (especially
PACTUM_REQUEST_TOKEN):cp env.example .env # macOS/Linux Copy-Item env.example .env # Windows PowerShell
Execute the feature suite with the bundled configuration:
bun cucumber-js --config cucumber.mjsThis writes execution artifacts to allure-results/ for Allure reporting.
Generate a static report:
bun x allure generate allure-results --clean --output allure-reportOpen the generated report locally:
bun x allure open allure-reportOr run the live server variant, which rebuilds on changes:
bun x allure serve allure-resultsIf package.json or bun.lock change upstream, re-run bun install to stay in sync.