Skip to content

DealerDotCom/karma-jasmine-cucumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karma-jasmine-cucumber

Getting Started

npm install karma-jasmine-cucumber --save-dev

Update karma.conf.js

frameworks: ['jasmine', 'karma-jasmine-cucumber']

Notice that karma-jasmine-cucumber depends on jasmine to come before it.

Check out jasmine-cucumber for more details about the actual api.

Deprecated at Dealer.com

Given minimal adoption of this package at Dealer.com we have decided to deprecate it. We are embracing cucumberjs and finding it to be good enough.

Gregory Limoratto has been a primary contributor and will continue development on his fork.

Release Notes

##v 1.0.1

  • loosened the version of jasmine-cucumber so that we don't have to release this module to get non-breaking changes

##v 1.0.0

  • updated to depend on jasmine-cucumber 1.0 which gives us jasmine 2.0 support. This was a breaking change due to breaking nature of jasmine 2.0 syntax. Main win was better async support which is now exposed in grunt style syntax
	.given('some step defintion', function(){
		var done = this.async();
		setTimeout(done);
	})

To use karma with jasmine 2.0 npm install karma-jasmine@~0.2.0 --save-dev

v 0.3.4

  • supports Jasmine 1.3 syntax

Roadmap

  • Split karma-jasmine-cucumber to jasmine-cucumber so that it can be used with jasmine alone, eg: in protractor.
  • add support for when after then for sequence oriented end to end tests where it doesn't always make sense to start the workflow over again for every assertion

About

Cucumber like api for BDD styles tests using jasmine and cucumber

Resources

License

Stars

Watchers

Forks

Packages

No packages published