1.0.16 • Published 7 years ago

bdd-4k2 v1.0.16

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

BDD for K2

NPM version Downloads

Brings a BDD approach to requirements gathering, testing and reports for K2. This project is a wrapper around chimp with a step definition file specifically for K2, a cucumber html reporter, express webserver to host the report, and soon to be scheduler for running regular tests.

Usage

Installation

If you already have node/npm installed, you can install using npm.

npm install -g bdd-4k2

Or if you are on Windows and need the one-click installer (including choco/nodejs/chrome/bdd-4k2) then you can use the powershell script.

Run powershell as administrator
.\install-bdd-4k2-and-dependencies.ps1

Overview

Once installed, create a new project folder

md myproject
cd myproject
bdd-4k2

Success means you should see chimp run with 0 scenarios and 0 steps (as the sample /myproject/features/yourfeature.feature file is blank).

Update the /myproject/features folder with your scenarios/tests and run either bdd-4k2 (or chimp --watch etc if you are developing your feature files).

Reporting

When you run bdd-4k2 chimp is run and also a html cucumber reporter using express to serve that report. This is run via a windows service so its always availble (e.g. for emails in K2 workflows) to install

bdd-4k2 install-service

to uninstall

bdd-4k2 uninstall-service

to access

http://localhost:3000/report.html

Scheduling

Coming soon (but currently can use windows scheduler to call bdd-4k2, the future will use the windows service instead)

NPM

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago