benderjs-jasmine

Adapter for Jasmine testing framework for Bender.js

Usage no npm install needed!

<script type="module">
  import benderjsJasmine from 'https://cdn.skypack.dev/benderjs-jasmine';
</script>

README

benderjs-jasmine

Adapter for Jasmine testing framework for Bender.js.

Installation

npm install benderjs-jasmine

Usage

Add benderjs-jasmine to the plugins array in the bender.js configuration file:

var config = {
    applications: {...}

    browsers: [...],

    plugins: ['benderjs-jasmine'], // load the plugin

    tests: {...}
};

module.exports = config;

Set jasmine as a framework for entire project or a specific tests group:

var config = {
    applications: {...}

    browsers: [...],

    framework: 'jasmine', // use for entire project

    plugins: ['benderjs-jasmine'],

    tests: {
        Foo: {
            basePath: '',
            framework: 'jasmine' // or use for a specific tests group
            paths: [...]
        }
    }
};

module.exports = config;

Features

  • single test execution

License

MIT, for license details see: LICENSE.md.