Socket
Book a DemoInstallSign in
Socket

karma-cucumber

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-cucumber

Wrapper around cucumber-js to create a standard runner & reporter for client side testing of multiple features / step definitions

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

karma-cucumber

Cucumber run purely in the browser. A runner that can be used with a karma reporter or html reporter.

Write your step helpers entirely in Javascript, access the DOM or instrument your page easily with uitest.js, and run your tests in the browser or (coming soon) with karma.

Getting Started

####Karma Reporter

Run the cucumber tests in the browser with karma

Instructions coming soon

####HTML Reporter

Run the cucumber tests in the browser manually

  • Install the bower package bower install karma-cucumber
  • Add your feature files, step definitions, and a runner.html
  • Open the runner in the browser

Checkout this folder of examples which contains a simple example and a uitest.js example.

You can run these locally as well:

  • Make sure you have connect server npm install
  • Then run it node examples/server.js

Here is an example in a larger application.

Credits

Major credit to Julien and everyone making cucumber-js.

License

MIT

Keywords

cucumber-js

FAQs

Package last updated on 04 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts