BDD for K2
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.
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
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).
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
Coming soon (but currently can use windows scheduler to call bdd-4k2, the future will use the windows service instead)