npm install karma-jasmine-cucumber --save-dev
frameworks: ['jasmine', 'karma-jasmine-cucumber']
karma-jasmine-cucumber depends on
jasmine to come before it.
Check out jasmine-cucumber for more details about the actual api.
- loosened the version of jasmine-cucumber so that we don't have to release this module to get non-breaking changes
- 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
To use karma with jasmine 2.0
npm install karma-jasmine@~0.2.0 --save-dev
- supports Jasmine 1.3 syntax
jasmine-cucumberso that it can be used with jasmine alone, eg: in protractor.
- add support for
thenfor sequence oriented end to end tests where it doesn't always make sense to start the workflow over again for every assertion