karma-apolog
v1.0.1
Published
A simple integration-tool with Karma for writting features
Downloads
1
Readme
Karma Apolog
How to use
- npm install --save-dev karma-apolog
- configure the preprocessor apolog in karma.conf.js
- write features and specs
- run karma
In order to configure the preprocessor in karma.conf.js just add a path that points to "apolog". E.g:
preprocessor: {
'features/**/*.feature': 'apolog'
},
...
So, the example above will preprocess all files located at "features/**/*.feature" with Apolog. Don't forget to setup the path for features. E.g.:
// list of files / patterns to load in the browser
files: [
'features/**/*.features',
'test/**/*.test.js',
'src/**/*.js'
],